Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after init #159

Open
trusktr opened this issue Feb 3, 2018 · 3 comments
Open

Error after init #159

trusktr opened this issue Feb 3, 2018 · 3 comments

Comments

@trusktr
Copy link

trusktr commented Feb 3, 2018

I did

vue init pwa test

then

cd test
npm i
npm run dev

which results in

 DONE  Compiled successfully in 3883ms                                                                                                       23:06:41

> Listening at http://localhost:8080

(node:31219) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Exited with code 3
(node:31219) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will t
erminate the Node.js process with a non-zero exit code.

When I visit localhost:8080, it seems work, so I'm not sure if something's wrong.

@trusktr
Copy link
Author

trusktr commented Feb 3, 2018

I'm not sure how to successfully pass --trace-warnings to be able to see what's causing the problem. The following two don't work:

npm run dev --trace-warnings
node `which npm` --trace-warnings run dev

How can I see what's making the error?

@johnathankent
Copy link

What version of node and npm are you using?

@miyako-ep
Copy link

I'm getting the same issue.

# node --version
v8.11.2
# npm --version
5.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants