Skip to main content

UNREACHABLE_STDERR

Constant UNREACHABLE_STDERR 

Source
pub const UNREACHABLE_STDERR: &str = r#"Error: Could not reach server at http://127.0.0.1:1
    at cli.server-connection.resolve (/$bunfs/root/chunk-sjncn5eg.js:2:1149)
    at cli.server-connection.resolve (definition) (/$bunfs/root/chunk-bsm4erxq.js:2:402)
    at cli.api (/$bunfs/root/chunk-7wjtqsrz.js:7:21275)
    at cli.api (definition) (/$bunfs/root/chunk-sjncn5eg.js:2:1109) {
  [cause]: ClientError: Transport: Unable to connect. Is the computer able to access the url?
      at <anonymous> (/$bunfs/root/chunk-71dqgg9j.js:2:1017)
      at async <anonymous> (/$bunfs/root/chunk-71dqgg9j.js:2:1265)
      at processTicksAndRejections (native:7:39) {
    [cause]: TypeError: Unable to connect. Is the computer able to access the url?
        at async <anonymous> (/$bunfs/root/chunk-71dqgg9j.js:2:981)
        at async <anonymous> (/$bunfs/root/chunk-71dqgg9j.js:2:1265)
  }
}
"#;
Expand description

The captured real stderr of opencode api server.info --server http://127.0.0.1:1 (opencode v2.0.32; the raised error is server-connection.ts:96).