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.

Problem with fsevents@1.2.7 and Node.js 12

See original GitHub issue

Since the Node.js 12 update I’ve been unable to install GOV.UK Frontend via npm ci (clean install from lockfile) without errors:

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.7/fse-v1.2.7-node-v72-darwin-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for fsevents@1.2.7 and node@12.13.1 (node-v72 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Pre-built binaries not installable for fsevents@1.2.7 and node@12.13.1 (node-v72 ABI, unknown) (falling back to source compile with node-gyp)
npm WARN deprecated fsevents@1.2.9: One of your dependencies needs to upgrade to fsevents v2: 1) Proper nodejs v10+ support 2) No more fetching binaries from AWS, smaller package size

No pre-built binary exists for fsevents@1.2.7 on Node.js 12 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.7/fse-v1.2.7-node-v72-darwin-x64.tar.gz

The current lockfile in the project requires fsevents@1.2.7 for Gulp, Jest and Nodemon.

Version 1.2.9+ is required for Node.js 12 compatibility.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
colinrotherhamcommented, Nov 25, 2019

@nickcolley Can I fix that please??

I always got it twice when developing with GOV.UK Frontend! 😁

But now we’re returning a promise from “gulp watch” you’ve got another condition where files are changed after the nodemon/watchers have started.

i.e. Nodemon has received two file change events, so you see the initial startup log plus two more restarts in the terminal (3 in total).

1reaction
colinrotherhamcommented, Nov 22, 2019

If you want a clean install exactly as the author intended use npm ci (removes node_modules and installs the exact versions found in the lockfile).

If you want minor version bumps and patch releases to be included use npm install, best avoided as this can slip in unintended consequences to production.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to solve npm install throwing fsevents warning on non ...
As the above error message states that fsevents is optional and it is skipped in installation process. You can run npm install --no-optional ......
Read more >
What version of Node should I use - sage - Roots Discourse
node v12.22.6; yarn v1.22.17; npm v6.14.15. I just want to know whats the optimum versions to develop locally with Bedrock and Sage.
Read more >
Node.js
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. ... Node.js® is an open-source, cross-platform JavaScript runtime environment.
Read more >
Problem when deploy node js project from GitHub repo CI= npm run ...
6:49:25 PM: Python version set to 2.7 6:49:27 PM: v12.18.0 is already installed. 6:49:27 PM: Now using node v12.18.0 (npm v6.14.4)
Read more >
node-gyp - npm
Node.js native addon build tool. Latest version: 9.3.1, last published: 10 days ago. Start using node-gyp in your project by running `npm i ......
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