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 on Node 7.7.2 Bug #3

Closed
xjlim opened this issue Jun 14, 2017 · 3 comments
Closed

UnhandledPromiseRejectionWarning on Node 7.7.2 Bug #3

xjlim opened this issue Jun 14, 2017 · 3 comments

Comments

@xjlim
Copy link

xjlim commented Jun 14, 2017

Error

npm start:

(node:36647) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: "listener" argument must be a function
(node:36647) 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.

Environment

  1. node -v:
v7.7.2
  1. npm -v:
4.1.2
  1. npm ls react-scripts:
react-scripts@0.7.0
  1. OS:
macOS Sierra version 10.12.5
@xjlim
Copy link
Author

xjlim commented Jun 14, 2017

This has been fix by create-react-app release v0.95.

Upgrading create-react-app fixes it.
package.json:

-    "react-scripts": "0.7.0",
+    "react-scripts": "0.9.5",

@rwieruch
Copy link
Member

Thanks for reporting it and finding the fix that fast! I will take this into the next edition 👍

@rwieruch
Copy link
Member

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

2 participants