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

Promise rejections upon starting first exercise #9

Closed
lxm7 opened this issue Mar 10, 2017 · 2 comments
Closed

Promise rejections upon starting first exercise #9

lxm7 opened this issue Mar 10, 2017 · 2 comments

Comments

@lxm7
Copy link

lxm7 commented Mar 10, 2017

After running yarn start # or npm start on excercise-01, I receive warning:

UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: "listener" argument must be a function
(node:21712) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.

I did a brew update today and currently on node@7.7.2 and npm@4.1.2. Not sure if theres a breaking change there?

Im also getting, running npm i

node-pre-gyp ERR! Tried to download: https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.14/fse-v1.0.14-node-v51-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.0.14 and node@7.7.2 (node-v51 ABI) (falling back to source compile with node-gyp)

Also tried other folders from repo also with same issue.

@marktani
Copy link
Collaborator

marktani commented Mar 10, 2017

This is related to the very fresh bug regarding node@7.7.2 and create-react-app, more information can be found here: facebook/create-react-app#1776.

Solution: Either upgrade create-react-app to 0.9.5 or downgrade node to 7.7.1 or older.

@lxm7
Copy link
Author

lxm7 commented Mar 10, 2017 via email

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