create-react-app: Create react app dependency error
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.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 1
- Comments: 22 (8 by maintainers)
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:
npm i -g npm@4
.I’m fairly sure it is this npm bug: https://github.com/npm/npm/issues/16810. Unfortunately there’s nothing we can do until it’s fixed.
If you’re having this issue please roll back
npm
to a version without this bug:npm install -g npm@4
If you still have a problem after downgrading npm please file a new issue with screenshots and details about your system.
Full error message (so that Google picks it up):
Try:
package-lock.json
if you have oneyarn.lock
if you have onenpm install
npm start
Does this help anyone?
I have same problem.
I try to downgrade npm to npm 4 latest. I have no problem.