question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

create-react-app issue related to fsevents@1.0.17

See original GitHub issue

If 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:

  1. npm ls react-scripts (if you haven’t ejected):
~/tmp $ npm ls react-scripts
/Users/charlesirvine
└── (empty)
  1. node -v: v8.1.2

  2. npm -v: 4.6.1 - the problem also occurs with v 5. Then, specify:

  3. Operating system: macOS Sierra version 10.12.5

  4. Browser and version: na

Reproducible Demo

Any invocation of create-react-app results in this output.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:20 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
ChuckIrvinecommented, Jun 28, 2017

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@1.1.2 install /Users/charlesirvine/src/react/tmp/node_modules/fsevents node install

[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

  • react@15.6.1
  • react-dom@15.6.1
  • react-scripts@1.0.8 added 1208 packages in 66.382s

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

On Jun 28, 2017, at 11:42 AM, Dan Abramov notifications@github.com wrote:

Fixed in 1.0.8. Please verify. https://github.com/facebookincubator/create-react-app/releases/tag/v1.0.8

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

1reaction
gaearoncommented, Jun 28, 2017
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found