fmsouza / wcode

Monaco-based code editor which runs inside a browser.
MIT License
134 stars 11 forks source link

events.js:170 error #22

Closed maoamid closed 5 years ago

maoamid commented 5 years ago

wcode cannot serve, crash after the server start: events.js:170 throw er; //Unhandled 'error' event

Error: spawn xdg-open ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:247:19) [...]

IanusInferus commented 5 years ago

I have encountered this on Windows and WSL and have found a workaround. I think you can add '--headless' argument to prevent it from trying to open a window.

maoamid commented 5 years ago

the problem cannot be reproduced after last dependencies updates.