Node-sass: [Unsupported] Installing node-sass 4.9.3 on Node 11

Created on 22 Nov 2018  路  9Comments  路  Source: sass/node-sass

node version v11.2.0

Steps:
npm i [email protected]
Observed:
[email protected] install C:\Users\Ivanna_Babchanik\Documents\web-drillplan\node_modules\@angular-devkit\build-angular\node_modules\node-sass

node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.9.3/win32-x64-67_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.9.3/win32-x64-67_binding.node":

HTTP error 404 Not Found

Expected: should be installed without any issues
NOTE: [email protected] installed without any issue.

Invalid - Old Node-Sass

All 9 comments

Sounds like the problem is fixed.

The problem is still observed, because I need 4.9.3 version not 4.10.0

We can't backport support for old new versions of Node. If you need 4.9 the you'll need to use Node < 11

[email protected] install C:...\node_modules\@angular-devkit\build-angular\node_modules\node-sass
node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.9.3/win32-x64-67_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.9.3/win32-x64-67_binding.node":
HTTP error 404 Not Found

The question is was there a version 67 of node-sass 4.9.3? Has it been removed?
So the problem seems not fixed to me.

No, nothing was removed, it was never a supported combination

Thanks for the info. Is there a way to find out which component requests that (nonexisting) version? In the package(-lock).json I only find

@angular-devkit/build-angular": {
requires [...]
"node-sass": "4.9.3", [...]
}

I'm trying to get my computer all setup to use SPFx and am having the same problem. I've installed the latest version of node-sass (v6.12.1) & refreshed it. But I still get the same error as above. Is there a way to change the reference to point to the latest build? Seems silly they would point a reference to a version that doesn't exist.

`> [email protected] install C:\scripts\helloworld-webpart2\node_modules\node-sass

node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.9.3/win32-x64-72_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.9.3/win32-x64-72_binding.node":

HTTP error 404 Not Found`

@tedHagler There is no node-sass version 6.12.1 as of yet. You might have meant "npm" - the package manager itself.

The error messages indicate you are trying to use Node 12 while v4.9.3 supports at most Node 10.
Look for node-sass in your dependencies package.json files and find one which hardcodes it to 4.9.3.

Was this page helpful?
0 / 5 - 0 ratings