This repository was archived by the owner on Jul 24, 2024. It is now read-only.
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
[Unsupported] Installing 4.7.2 with Node 10 #2383
Closed
Description
vsts build unable to install node-sass.
> node-sass@4.7.2 install D:\a\1\s\web\source\ClientApp\node_modules\node-sass
2018-05-16T11:23:08.1842332Z > node scripts/install.js
2018-05-16T11:23:08.1842536Z
2018-05-16T11:23:08.1842783Z Downloading binary from https://github.com/sass/node-sass/releases/download/v4.7.2/win32-x64-64_binding.node
2018-05-16T11:23:08.1843165Z Cannot download "https://github.com/sass/node-sass/releases/download/v4.7.2/win32-x64-64_binding.node":
2018-05-16T11:23:08.1845227Z
2018-05-16T11:23:08.1845416Z HTTP error 404 Not Found
2018-05-16T11:23:08.1845667Z
2018-05-16T11:23:08.1845915Z Hint: If github.com is not accessible in your location
2018-05-16T11:23:08.1849927Z try setting a proxy via HTTP_PROXY, e.g.
2018-05-16T11:23:08.1861804Z
2018-05-16T11:23:08.1862368Z export HTTP_PROXY=http://example.com:1234
2018-05-16T11:23:08.1862632Z
2018-05-16T11:23:08.1862817Z or configure npm proxy via
2018-05-16T11:23:08.1863088Z
2018-05-16T11:23:08.1863270Z npm config set proxy http://example.com:8080
2018-05-16T11:23:08.4973251Z
2018-05-16T11:23:08.4973907Z > uglifyjs-webpack-plugin@0.4.6 postinstall D:\a\1\s\web\source\ClientApp\node_modules\webpack\node_modules\uglifyjs-webpack-plugin
2018-05-16T11:23:08.4974172Z > node lib/post_install.js
2018-05-16T11:23:08.4974354Z
2018-05-16T11:23:09.0641969Z
2018-05-16T11:23:09.0652851Z > node-sass@4.7.2 postinstall D:\a\1\s\web\source\ClientApp\node_modules\node-sass
2018-05-16T11:23:09.0655336Z > node scripts/build.js
package-lock.json
"node-sass": {
"version": "4.7.2",
"resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.7.2.tgz",
"integrity": "sha512-CaV+wLqZ7//Jdom5aUFCpGNoECd7BbNhjuwdsX/LkXBrHl8eb1Wjw4HvWqcFvhr5KuNgAk8i/myf/MQ1YYeroA==",
"dev": true,
"optional": true,
"requires": {
"async-foreach": "0.1.3",
"chalk": "1.1.3",
"cross-spawn": "3.0.1",
"gaze": "1.1.2",
"get-stdin": "4.0.1",
"glob": "7.1.2",
"in-publish": "2.0.0",
"lodash.assign": "4.2.0",
"lodash.clonedeep": "4.5.0",
"lodash.mergewith": "4.6.1",
"meow": "3.7.0",
"mkdirp": "0.5.1",
"nan": "2.8.0",
"node-gyp": "3.6.2",
"npmlog": "4.1.2",
"request": "2.79.0",
"sass-graph": "2.2.4",
"stdout-stream": "1.4.0",
"true-case-path": "1.0.2"
},
"dependencies": {
"ansi-styles": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
"integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
"dev": true
},
"caseless": {
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz",
"integrity": "sha1-cVuW6phBWTzDMGeSP17GDr2k99c=",
"dev": true,
"optional": true
},
"chalk": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
"integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
"dev": true,
"requires": {
"ansi-styles": "2.2.1",
"escape-string-regexp": "1.0.5",
"has-ansi": "2.0.0",
"strip-ansi": "3.0.1",
"supports-color": "2.0.0"
}
},
"har-validator": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/har-validator/-/har-validator-2.0.6.tgz",
"integrity": "sha1-zcvAgYgmWtEZtqWnyKtw7s+10n0=",
"dev": true,
"optional": true,
"requires": {
"chalk": "1.1.3",
"commander": "2.12.2",
"is-my-json-valid": "2.17.1",
"pinkie-promise": "2.0.1"
}
},
"qs": {
"version": "6.3.2",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.3.2.tgz",
"integrity": "sha1-51vV9uJoEioqDgvaYwslUMFmUCw=",
"dev": true,
"optional": true
},
"request": {
"version": "2.79.0",
"resolved": "https://registry.npmjs.org/request/-/request-2.79.0.tgz",
"integrity": "sha1-Tf5b9r6LjNw3/Pk+BLZVd3InEN4=",
"dev": true,
"optional": true,
"requires": {
"aws-sign2": "0.6.0",
"aws4": "1.6.0",
"caseless": "0.11.0",
"combined-stream": "1.0.5",
"extend": "3.0.1",
"forever-agent": "0.6.1",
"form-data": "2.1.4",
"har-validator": "2.0.6",
"hawk": "3.1.3",
"http-signature": "1.1.1",
"is-typedarray": "1.0.0",
"isstream": "0.1.2",
"json-stringify-safe": "5.0.1",
"mime-types": "2.1.17",
"oauth-sign": "0.8.2",
"qs": "6.3.2",
"stringstream": "0.0.5",
"tough-cookie": "2.3.3",
"tunnel-agent": "0.4.3",
"uuid": "3.2.1"
}
},
"supports-color": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
"integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
"dev": true
},
"tunnel-agent": {
"version": "0.4.3",
"resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz",
"integrity": "sha1-Y3PbdpCf5XDgjXNYM2Xtgop07us=",
"dev": true,
"optional": true
}
}
}
While giving build/release in vsts git
it unable to install node-sass package causing above issue.
Activity
nschonni commentedon May 16, 2018
Node 10 requires 4.9, this is mentioned in the issue template. I'll try to make that even more explicit
k11k2 commentedon May 16, 2018
@nschonni just general doubt, how would you confirm my node version is 10 ?
xzyfer commentedon May 16, 2018
The big issue template, if you had followed it, would have given you the commands the confirm your node version.
It would have also given you all the instructions you needed to resolve this problem.
The _64 in the binary filename is a Node internal version number that identifies Node 10.
docs: Add a small version table for README
Update package.json
pyramidsbuilder commentedon Dec 18, 2018
suyash796 commentedon Jan 11, 2019
[-]Cannot download "https://github.com/sass/node-sass/releases/download/v4.7.2/win32-x64-64_binding.node"[/-][+][Unsupported] Installing 4.7.2 with Node 10[/+]