create-react-app issue related to fsevents@1.0.17
See original GitHub issueIf you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.
Can you reproduce the problem with npm 4.x?
Yes
Description
When running create-react-app I get:
Creating a new React app in /Users/charlesirvine/tmp/slate-editor.
Installing packages. This might take a couple minutes.
Installing react-scripts...
> fsevents@1.0.17 install /Users/charlesirvine/tmp/slate-editor/node_modules/fsevents
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.17/fse-v1.0.17-node-v57-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.0.17 and node@8.1.2 (node-v57 ABI) (falling back to source compile with node-gyp)
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node
COPY /Users/charlesirvine/tmp/slate-editor/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node
TOUCH Release/obj.target/action_after_build.stamp
Expected behavior
Should not get this output.
Actual behavior
Tell us what actually happens.
Environment
Run these commands in the project folder and fill in their results:
npm ls react-scripts
(if you haven’t ejected):
~/tmp $ npm ls react-scripts
/Users/charlesirvine
└── (empty)
-
node -v
:v8.1.2
-
npm -v
: 4.6.1 - the problem also occurs with v 5. Then, specify: -
Operating system: macOS Sierra version 10.12.5
-
Browser and version: na
Reproducible Demo
Any invocation of create-react-app results in this output.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:20 (11 by maintainers)
Top Results From Across the Web
Unable to create React typescript project - Stack Overflow
Try updating your local create-react-app version to >=2.1 ... Then create your react app with typescript using below command.
Read more >warning create-react-app > tar-pack > tar@2.2.2 - You.com
To fix this issue run this command :- npm i tar and enter ok. Now your problem of npm WARN deprecated tar@2.2.2: This...
Read more >React v17.0 – React Blog
This demo uses Create React App, but it should be possible to follow a similar approach with any other tool. We welcome demos...
Read more >I cant create react app - Reddit
I cant create react app. npx create-react-app my-app node:internal/modules/cjs/loader:936 throw err; ^ Error: Cannot find module ...
Read more >Automate your create-react-app build on Heroku using ...
git commit -m "Start with create-react-app" ... is incompatible with this module.info "fsevents@1.0.17" is an optional dependency and failed ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep, looks much better. The output is now is given below. Thanks!!
Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts…
[fsevents] Success: “/Users/charlesirvine/src/react/tmp/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node” already installed Pass --update-binary to reinstall or --build-from-source to recompile
Success! Created tmp at /Users/charlesirvine/src/react/tmp Inside that directory, you can run several commands:
npm start Starts the development server.
npm run build Bundles the app into static files for production.
npm test Starts the test runner.
npm run eject Removes this tool and copies build dependencies, configuration files and scripts into the app directory. If you do this, you can’t go back!
We suggest that you begin by typing:
cd tmp npm start
Fixed in 1.0.8. Please verify. https://github.com/facebookincubator/create-react-app/releases/tag/v1.0.8