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.

Installation warnings and errors on Ubuntu Xenial 16.04.x

See original GitHub issue

Is this a bug report?

Yes

Can you also reproduce the problem with npm 4.x?

  • The primary issue is while using NPM v8.0.3
  • I have tested with NPM v3.10.10 (node v6.11.0) and received the following warnings, but no errors:

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.0.17 (node_modules/react-scripts/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.17: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})

Which terms did you search for in User Guide?

N/A

Environment

  1. node -v: 8.0.3
  2. npm -v:5.0.3
  3. yarn --version (if you use Yarn): 0.22
  4. npm ls react-scripts (if you haven’t ejected): empty

Then, specify:

  1. Operating system: No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.2 LTS Release: 16.04 Codename: xenial
  2. Browser and version (if relevant): N/A (Not used in installation process)

Steps to Reproduce

  1. On the specified version of Ubuntu, install NVM and Node.js (which auto-installs NPM version)
  2. Run npm install -g create-react-app
  3. See warnings and errors

Expected Behavior

No installation errors or warnings.

Actual Behavior

benjamin@thor:~/MY_APPS $ create-react-app my-first-react-app
Creating a new React app in /home/benjamin/MY_APPS/my-first-react-app.

Installing packages. This might take a couple minutes.
Installing react, react-dom, and react-scripts...


> fsevents@1.0.17 install /home/benjamin/MY_APPS/my-first-react-app/node_modules/fsevents
> node-pre-gyp install --fallback-to-build

node-pre-gyp info it worked if it ends with ok
node-pre-gyp verb cli [ '/home/benjamin/.nvm/versions/node/v8.1.2/bin/node',
node-pre-gyp verb cli   '/home/benjamin/MY_APPS/my-first-react-app/node_modules/fsevents/node_modules/.bin/node-pre-gyp',
node-pre-gyp verb cli   'install',
node-pre-gyp verb cli   '--fallback-to-build' ]
node-pre-gyp info using node-pre-gyp@0.6.32
node-pre-gyp info using node@8.1.2 | linux | x64
node-pre-gyp verb command install []
node-pre-gyp info check checked for "/home/benjamin/MY_APPS/my-first-react-app/node_modules/fsevents/lib/binding/Release/node-v57-linux-x64/fse.node" (not found)
node-pre-gyp http GET https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.17/fse-v1.0.17-node-v57-linux-x64.tar.gz
node-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.17/fse-v1.0.17-node-v57-linux-x64.tar.gz
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-linux-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) 
node-pre-gyp http 404 status code downloading tarball https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.17/fse-v1.0.17-node-v57-linux-x64.tar.gz 
node-pre-gyp verb command build [ 'rebuild' ]
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
make: Entering directory '/home/benjamin/MY_APPS/my-first-react-app/node_modules/fsevents/build'
  SOLINK_MODULE(target) Release/obj.target/.node
  COPY Release/.node
make: Leaving directory '/home/benjamin/MY_APPS/my-first-react-app/node_modules/fsevents/build'
node-pre-gyp info ok 
npm notice created a lockfile as package-lock.json. You should commit this file.
+ react@15.6.1
+ react-dom@15.6.1
+ react-scripts@1.0.7
added 1193 packages in 31.426s

Reproducible Demo

No demo created, easy to repro

Do you want to request a feature or report a bug? Report a bug.

What is the current behavior? Receiving errors and warnings while executing the create-react-app ... command

benjamin@thor:~/MY_APPS $ create-react-app my-first-react-app
Creating a new React app in /home/benjamin/MY_APPS/my-first-react-app.

Installing packages. This might take a couple minutes.
Installing react, react-dom, and react-scripts...


> fsevents@1.0.17 install /home/benjamin/MY_APPS/my-first-react-app/node_modules/fsevents
> node-pre-gyp install --fallback-to-build

node-pre-gyp info it worked if it ends with ok
node-pre-gyp verb cli [ '/home/benjamin/.nvm/versions/node/v8.1.2/bin/node',
node-pre-gyp verb cli   '/home/benjamin/MY_APPS/my-first-react-app/node_modules/fsevents/node_modules/.bin/node-pre-gyp',
node-pre-gyp verb cli   'install',
node-pre-gyp verb cli   '--fallback-to-build' ]
node-pre-gyp info using node-pre-gyp@0.6.32
node-pre-gyp info using node@8.1.2 | linux | x64
node-pre-gyp verb command install []
node-pre-gyp info check checked for "/home/benjamin/MY_APPS/my-first-react-app/node_modules/fsevents/lib/binding/Release/node-v57-linux-x64/fse.node" (not found)
node-pre-gyp http GET https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.17/fse-v1.0.17-node-v57-linux-x64.tar.gz
node-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.17/fse-v1.0.17-node-v57-linux-x64.tar.gz
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-linux-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) 
node-pre-gyp http 404 status code downloading tarball https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.17/fse-v1.0.17-node-v57-linux-x64.tar.gz 
node-pre-gyp verb command build [ 'rebuild' ]
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
make: Entering directory '/home/benjamin/MY_APPS/my-first-react-app/node_modules/fsevents/build'
  SOLINK_MODULE(target) Release/obj.target/.node
  COPY Release/.node
make: Leaving directory '/home/benjamin/MY_APPS/my-first-react-app/node_modules/fsevents/build'
node-pre-gyp info ok 
npm notice created a lockfile as package-lock.json. You should commit this file.
+ react@15.6.1
+ react-dom@15.6.1
+ react-scripts@1.0.7
added 1193 packages in 31.426s

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

Issue Analytics

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

github_iconTop GitHub Comments

4reactions
bdeanindycommented, Jun 29, 2017

Thanks for the update. 😃

3reactions
gaearoncommented, Jun 30, 2017

FWIW Node 8 should work with latest version. But you still need to downgrade npm to 4.x because 5.x is too buggy right now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xenial (16.04) : Bugs : Ubuntu
linux (Ubuntu Xenial) 6. High. Confirmed. #1646277 Xenial server 16.04.x will have a black screen after PXE installation. linux (Ubuntu Xenial) 12.
Read more >
Installing Wine and getting an error - Ask Ubuntu
I'm running a rented vps that was/is an Ubuntu 16.04 headless server that I installed Xfce Workstation on top of.
Read more >
Can't Install Third-Party Apps on Ubuntu 16.04? You're Not ...
To fix this is as simple to right click on any .deb file > properties > and change the default software center from...
Read more >
Error when installing QGIS 2.x and 3.0 on Ubuntu 16.04 and ...
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable ......
Read more >
XenialXerus/ReleaseNotes/ChangeSummary/16.04.3
(Many installation problems are hardware-specific; for those, ... tests from Ubuntu 15.10 "wily" (which is EoL now) to 16.04 LTS "xenial".
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