Closed
Description
code-server
version: v1.1119-vsc1.33.1- OS Version: Ubuntu 18.10 on local computer
Description
When using --open
switch, code-server starts correctly but fails to actually open the browser:
$ code-server --host 127.0.0.1 --allow-http --no-auth --disable-telemetry --open dev/0x40.ale.sh/
(node:18645) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
INFO code-server v1.1119-vsc1.33.1
...
WARN Url couldn't be opened automatically. {"url":"http://localhost:8443/","exception":{"errno":"ENOENT","code":"ENOENT","syscall":"spawn /src/packages/server/out/xdg-open","path":"/src/packages/server/out/xdg-open","spawnargs":["http://localhost:8443/"]}}
...
Perhaps you wanted to use a system xdg-open
instead? :)
(PS Thanks for this awesome tool, and for sail, too!)