-
-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
Create react app dependency error #2558
Comments
same error in the instalation it gives me:
|
+10 fucking million. I have been trying to debug this all morning. Only just started happening to me. NPM version is Can somebody please find a solution. |
fsevents should only be installed on osx. I think it's a bug with npm@5 mapbox/node-pre-gyp#298 |
I have a feeling the recently merged #2550 will solve this in the next release. |
Can someone please try downgrading to Node 6 or 7 to see if this persists for them? |
I think this issue is related to Webpack, when I tried to create my own boilerplate without using create-react-app, the issue appears when I tried to add Webpack |
I have same problem.
I try to downgrade npm to npm 4 latest. |
I downgrade to node 6.11.0 and npm 4.6 but the issue still there |
+1。and i install react-router, then the issue still there |
cc @TheLarkInn, any ideas what happened? We didn't change anything on our side. |
Same issue for me.
|
The exact error it gives me after running yarn start is:
|
Try:
Does this help anyone? |
@gaearon are you suggesting that just to diagnose the issue? Because I think it would be inconvenient to be forced to use an old npm... |
Changing npm version takes a few minutes in my experience. npm@5 is known to have a lot of bugs, and I want to figure out if at least some cases are caused by npm@5 or not. |
I just tried with npm@5 and I saw the error noise (although eventually the installation finished successfully for me). In the meantime I recommend downgrading: |
I'm fairly sure it is this npm bug: npm/npm#16810. If you're having this issue please roll back
|
|
I've managed to make it work with the following setup: node - v6.10.0 After the update to Hope this helps. |
For me this worked:
|
npm install -g npm@4 works, thanks a lot :) |
Note from Maintainers:
If you're having this issue please roll back
npm
to a version without this bug:npm install -g npm@4
When i try to create a new react application using create-react-app, it tries to download fsevents but fails ,also gives Error: Can't find Python executable "python" and Error: Failed to execute 'node-gyp.cmd configure errors. I have attached the screenshot. Thank you in advance.
![error](https://user-images.githubusercontent.com/19921546/27258434-0cede7be-53af-11e7-9d24-50410bb63c9d.jpg)
The text was updated successfully, but these errors were encountered: