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

UnhandledPromiseRejectionWarning #648

Closed
gweinfurther opened this issue Jan 24, 2018 · 18 comments
Closed

UnhandledPromiseRejectionWarning #648

gweinfurther opened this issue Jan 24, 2018 · 18 comments

Comments

@gweinfurther
Copy link

I just installed parcel. When running parcel in live or build mode, I get this message:

UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): SyntaxError: 'super' keyword unexpected here

Running on Windows 10 in Chrome 63.
Parcel 1.5

@ZWkang
Copy link
Contributor

ZWkang commented Jan 24, 2018

i got it too~

@akosasante
Copy link

akosasante commented Jan 24, 2018

Same here. I also encountered #642.
Running on Ubuntu 16.04
Parcel 1.50

@sinout
Copy link

sinout commented Jan 24, 2018

Same here. Encountered after update from v1.4.1 to 1.5.
node version 6.9.4.

@DeMoorJasper
Copy link
Member

@sinout node.js 6 is currently not supported we are working to support it in the future

Sent with GitHawk

@srph
Copy link

srph commented Jan 25, 2018

Having it as well. Just installed v1.5.

  • Windows 10
  • node v7.5.0

@DeMoorJasper
Copy link
Member

@srph node 7 isnt supported yet either only node 8+ is currently supported

Sent with GitHawk

@mdchristians
Copy link

Having the same issue.
Fresh install of Parcel on a fresh project. Node v8.9.3.

@katsos
Copy link

katsos commented Jan 26, 2018

For anyone who has the same problem, you can use nvm for your project with "v8" wrote in its .nvmrc file until it is fixed.

@mdchristians
Copy link

@katsos My project has an .nvmrc implemented already using 8.9.3...

@katsos
Copy link

katsos commented Jan 26, 2018

@mdchristians don't forget to execute nvm use inside the folder from the same terminal that you are going to execute anything related to Node.

@mdchristians
Copy link

@katsos My .nvmrc file is being used. Running node -v outputs 8.9.3 within the project directory.

@mdchristians
Copy link

It's working with Node v8.5.0 so now I'm pretty sure it's an issue with something else...

@DepickereSven
Copy link

DepickereSven commented Jan 29, 2018

I have this problem to.

I have:
Node v8.9.4
Fresh install of Parcel

Every time I run it I get an other number in front of the error some examples:
(node:16656) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): SyntaxError: 'super' keyword unexpected here
(node:4332) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): SyntaxError: 'super' keyword unexpected here
(node:7572) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): SyntaxError: 'super' keyword unexpected here
(node:24156) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): SyntaxError: 'super' keyword unexpected here

Anyone a suggestion?

@davidnagli
Copy link
Contributor

@devongovett Do you think we should work towards adding support for Node 6? Should we reopen this issue to track this?

@DepickereSven
Copy link

I had an older node version and I updated to version 8.9.4 and I still got that error.

So how did I fixed it?
I uninstalled Nodejs en nvm and then reinstall nodejs.
If you do that It should work.

@gamebox
Copy link

gamebox commented Feb 6, 2018

I guess one issue I would have with this - I have the same issue on Node v7.8.0 - is that the "engine" -> "node" key in the package.json should be updated to reflect that you need 8+.

@tiberiucorbu
Copy link

Node 6.x is still an active LTS and it will benefit maintenance until April 2019.
https://github.com/nodejs/Release

@ocsen
Copy link

ocsen commented Feb 9, 2018

node 7 isnt supported yet either only node 8+ is currently supported !!!
nvm use 9

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

No branches or pull requests