Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node-sass - npm install fails #26

Open
c0d3x opened this issue Dec 6, 2017 · 5 comments
Open

node-sass - npm install fails #26

c0d3x opened this issue Dec 6, 2017 · 5 comments

Comments

@c0d3x
Copy link

c0d3x commented Dec 6, 2017

$ npm i

[email protected] install D:\Prosjekter\Privat\sandbox-react\redux-boilerplate\node_modules\node-sass
node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-57_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-57_binding.node":

HTTP error 404 Not Found

...
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node scripts/build.js
npm ERR! Exit status 1

@TedSean
Copy link

TedSean commented Dec 26, 2017

Even i faced a similar problem, any resolution ?

@c0d3x
Copy link
Author

c0d3x commented Dec 28, 2017 via email

@hobpet
Copy link

hobpet commented Feb 10, 2018

The binary of node-sass 3.8 (Windows) does not seem to be available anymore, so the install fails.
You can change it to "node-sass": "^4.7.2" in package.json and it will build.
I've changed this in the code and created a pull request (#28) to update the code so you can get it from there once approved and merged. You can see the change there.

@parth-jbspl-24
Copy link

Step 1 : remove "node-sass": "^3.8.0" from package.json
Step 2 : > npm install node-sass
this will automatically manage latest node-sass version for you.
Step 3: > npm dev
which will build webpack for you.
Step 4: > npm start
Yeaaaa .. It's all done ;) Thanks @hobpet !!

@kaandiren
Copy link

Firstly check your node version by typing node -v

Declared version of node-sass may not be supported by your node version, you can check the compatibility below:
https://github.com/sass/node-sass/releases
Take a look at Supported Environments

You may change your node version.
If this action is too heavy for you, you can simply change the node-sass version with the compatible one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants