Zulko / eagle.js

A hackable slideshow framework built with Vue.js
https://zulko.github.io/eaglejs-demo/
ISC License
4.08k stars 222 forks source link

npm run dev throws an error #43

Closed gnesher closed 6 years ago

gnesher commented 6 years ago

Just did a clean install (cloned repo, installed dependencies and ran npm run dev) I'm getting the following error which isn't very helpful:

(node:4041) UnhandledPromiseRejectionWarning: Error: Exited with code 3
    at ChildProcess.<anonymous> (/mnt/c/Users/Guy Nesher/Work/presentations/eaglejs-demo/node_modules/opn/index.js:83:13)
    at Object.onceWrapper (events.js:317:30)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Socket.stream.socket.on (internal/child_process.js:346:11)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at Pipe._handle.close [as _onclose] (net.js:567:12)
(node:4041) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 5)
(node:4041) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

The demo does load and I can't tell exactly what's broken - but it's a little disconcerting

yaodingyd commented 6 years ago

This is a bug with opn. Since it's difficult to debug as it's relevant to node version and your OS, I recommend you look for autoOpenBrowser in /config/index.js and set it to false.

yaodingyd commented 6 years ago

will reopen for more details

bala223344 commented 4 years ago

I was using ubuntu app in win10 and it couldn't launch the browser from within ubuntu..that was the issue..thanks

yaodingyd commented 4 years ago

@bala223344 this is an issue with opn. You have a better chance to solve this to open an issue there.