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.

Failed postinstall script on Linux-x64-57 ( node-sass dependency needs to be updated)

See original GitHub issue

I have "sass-brunch": "^2.10.4", in my package.json and when I npm install my packages I’m getting a

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@3.8.0 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!  
npm ERR! Failed at the node-sass@3.8.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

When looking at the logs above that error message I see a

> node-sass@3.8.0 install /home/...
> node scripts/install.js

Cannot download "https://github.com/sass/node-sass/releases/download/v3.8.0/linux-x64-57_binding.node":

HTTP error 404 Not Found

When looking at the v3.8.0 release of node-sass, there doesnt seem to be a asset file for my environment Linux-x64-57. This is not the case, however, for more recently released versions of node-sass. Namely, the most recent version v4.7.2.

Are there any plans to update the node-sass dependency?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:9
  • Comments:5

github_iconTop GitHub Comments

3reactions
ctompcommented, Feb 25, 2018

I’m having the same issue, except it’s looking for win32-x64-57:

> node scripts/install.js

Cannot download "https://github.com/sass/node-sass/releases/download/v3.8.0/win32-x64-57_binding.node":

HTTP error 404 Not Found

For the time being I’m using the code directly from the master branch but it would be nice to have a new stable release.

1reaction
magynhardcommented, Mar 9, 2018

Same problem here when trying to install sass-brunch with npm.

> node scripts/install.js

Cannot download "https://github.com/sass/node-sass/releases/download/v3.8.0/win32-x64-57_binding.node":

HTTP error 404 Not Found

sass-brunch itself has 4.x as dependency, but some of the other dependencies may have 3.x of node-sass? Using the 4.x release might help, because it has a package for win32-x64-57_binding.node.

Link to 3.8.0-Release https://github.com/sass/node-sass/releases/tag/v3.8.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm install ->Failed at the node-sass@4.5.0 postinstall script
Got the same problem (node v10.3.0, ionic 3.13.0). This worked : Delete package- lock .json ,; Delete node_modules folder,; Run npm install ...
Read more >
Bug #1973639 “npm install fails on newer version (12+) of node”
3 from 16.15.0 and it just worked. We should take a look at the package.json file and upgrade it to work with the...
Read more >
Homestead npm install --no-bin-links error - Laracasts
I have a clean install of Laravel 5.5 with no preset as I'm looking to include ... binary to /home/vagrant/.npm/node-sass/4.8.3/linux-x64-57_binding.node ...
Read more >
[SOLVED] Ionic Pro: build error - Appflow
if ionic-angular = 3.6.1, we need use rxjs 5.4.0 and typescript 2.4.0, ... Please update to the latest object-keys > node-sass@4.5.3 install ...
Read more >
stencil-cli install fails on node-sass after updating to node 10.16
When I started stencil it advised that a higher version of NPM from the previous 7.9.0 is required. I updated to version 10.16...
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