When I try to use open from WSL, it fails to open URLs
$ npx open-cli http://google.com
npx: installed 82 in 9.186s
events.js:291
throw er; // Unhandled 'error' event
^
Error: spawn cmd.exe ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:268:19)
at onErrorNT (internal/child_process.js:468:16)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:274:12)
at onErrorNT (internal/child_process.js:468:16)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn cmd.exe',
path: 'cmd.exe',
spawnargs: [ '/s', '/c', 'start', '""', '/b', 'http://google.com' ]
}
I'm assuming this is because there is no browser or it's otherwise WSL related.
Possibly related: #56, #173
Related: open-wc/open-wc#1763
When I try to use
openfrom WSL, it fails to open URLsI'm assuming this is because there is no browser or it's otherwise WSL related.
Possibly related: #56, #173
Related: open-wc/open-wc#1763