-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Unsupported] Installing 4.5.3 with Node 9 #2145
Comments
Duplicate of #2129 |
Hi, I'm getting the same issue when running sudo npm i, and my package.json file is set to install node-sass 4.6.0
|
"Downloading binary from .... Cannot download ..." In fact, I known "v4.5.7/win32-x64-59_binding.node" is for the application installed with the package of "node-v9.3.0-x64.msi" in windows10 and "v4.5.7/win32-x64-57_binding.node" for "node-v8.9.1-x64.msi". For your problem, after you download it. add it to folder "C:\Users\computer-name\AppData\Roaming\npm-cache\node-sass\4.5.3". Re-install, everything is fine. |
This was the problem for me! thanks! |
E:\xampp\htdocs\kngtravels>npm install
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5
.3/win32-x64-59_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.5.3/win3
2-x64-59_binding.node":
tunneling socket could not be established, statusCode=405
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
or configure npm proxy via
Building: C:\Program Files\nodejs\node.exe E:\xampp\htdocs\kngtravels\node_modul
es\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= -
-libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ 'C:\Program Files\nodejs\node.exe',
gyp verb cli 'E:\xampp\htdocs\kngtravels\node_modules\node-gyp\bin\node
-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library=' ]
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb
which
failed Error: not found: python2gyp verb
which
failed at getNotFoundError (E:\xampp\htdocs\kngtravels\node_modules\which\which.js:13:12)
gyp verb
which
failed at F (E:\xampp\htdocs\kngtravels\node_modules\whichwhich.js:68:19)
gyp verb
which
failed at E (E:\xampp\htdocs\kngtravels\node_modules\whichwhich.js:80:29)
gyp verb
which
failed at E:\xampp\htdocs\kngtravels\node_modules\which\which.js:89:16
gyp verb
which
failed at E:\xampp\htdocs\kngtravels\node_modules\isexe\index.js:42:5
gyp verb
which
failed at E:\xampp\htdocs\kngtravels\node_modules\isexe\windows.js:36:5
gyp verb
which
failed at FSReqWrap.oncomplete (fs.js:166:21)gyp verb
which
failed python2 { Error: not found: python2gyp verb
which
failed at getNotFoundError (E:\xampp\htdocs\kngtravels\node_modules\which\which.js:13:12)
gyp verb
which
failed at F (E:\xampp\htdocs\kngtravels\node_modules\whichwhich.js:68:19)
gyp verb
which
failed at E (E:\xampp\htdocs\kngtravels\node_modules\whichwhich.js:80:29)
gyp verb
which
failed at E:\xampp\htdocs\kngtravels\node_modules\which\which.js:89:16
gyp verb
which
failed at E:\xampp\htdocs\kngtravels\node_modules\isexe\index.js:42:5
gyp verb
which
failed at E:\xampp\htdocs\kngtravels\node_modules\isexe\windows.js:36:5
gyp verb
which
failed at FSReqWrap.oncomplete (fs.js:166:21)gyp verb
which
failed stack: 'Error: not found: python2\n at getNotFoundError (E:\xampp\htdocs\kngtravels\node_modules\which\which.js:13:12)\n a
t F (E:\xampp\htdocs\kngtravels\node_modules\which\which.js:68:19)\n at
E (E:\xampp\htdocs\kngtravels\node_modules\which\which.js:80:29)\n at
E:\xampp\htdocs\kngtravels\node_modules\which\which.js:89:16\n at E:\x
ampp\htdocs\kngtravels\node_modules\isexe\index.js:42:5\n at E:\xampp\
htdocs\kngtravels\node_modules\isexe\windows.js:36:5\n at FSReqWrap.oncom
plete (fs.js:166:21)',
gyp verb
which
failed code: 'ENOENT' }gyp verb check python checking for Python executable "python" in the PATH
gyp verb
which
failed Error: not found: pythongyp verb
which
failed at getNotFoundError (E:\xampp\htdocs\kngtravels\node_modules\which\which.js:13:12)
gyp verb
which
failed at F (E:\xampp\htdocs\kngtravels\node_modules\whichwhich.js:68:19)
gyp verb
which
failed at E (E:\xampp\htdocs\kngtravels\node_modules\whichwhich.js:80:29)
gyp verb
which
failed at E:\xampp\htdocs\kngtravels\node_modules\which\which.js:89:16
gyp verb
which
failed at E:\xampp\htdocs\kngtravels\node_modules\isexe\index.js:42:5
gyp verb
which
failed at E:\xampp\htdocs\kngtravels\node_modules\isexe\windows.js:36:5
gyp verb
which
failed at FSReqWrap.oncomplete (fs.js:166:21)gyp verb
which
failed python { Error: not found: pythongyp verb
which
failed at getNotFoundError (E:\xampp\htdocs\kngtravels\node_modules\which\which.js:13:12)
gyp verb
which
failed at F (E:\xampp\htdocs\kngtravels\node_modules\whichwhich.js:68:19)
gyp verb
which
failed at E (E:\xampp\htdocs\kngtravels\node_modules\whichwhich.js:80:29)
gyp verb
which
failed at E:\xampp\htdocs\kngtravels\node_modules\which\which.js:89:16
gyp verb
which
failed at E:\xampp\htdocs\kngtravels\node_modules\isexe\index.js:42:5
gyp verb
which
failed at E:\xampp\htdocs\kngtravels\node_modules\isexe\windows.js:36:5
gyp verb
which
failed at FSReqWrap.oncomplete (fs.js:166:21)gyp verb
which
failed stack: 'Error: not found: python\n at getNotFoundError (E:\xampp\htdocs\kngtravels\node_modules\which\which.js:13:12)\n at
F (E:\xampp\htdocs\kngtravels\node_modules\which\which.js:68:19)\n at
E (E:\xampp\htdocs\kngtravels\node_modules\which\which.js:80:29)\n at E
:\xampp\htdocs\kngtravels\node_modules\which\which.js:89:16\n at E:\xa
mpp\htdocs\kngtravels\node_modules\isexe\index.js:42:5\n at E:\xampp\h
tdocs\kngtravels\node_modules\isexe\windows.js:36:5\n at FSReqWrap.oncomp
lete (fs.js:166:21)',
gyp verb
which
failed code: 'ENOENT' }gyp verb could not find "python". checking python launcher
gyp verb check python launcher python executable found: "C:\Python27\python.ex
e"
gyp verb check python version
C:\Python27\python.exe -c "import platform; print (platform.python_version());"
returned: "2.7.14\r\n"gyp verb get node dir no --target version specified, falling back to host node v
ersion: 9.0.0
gyp verb command install [ '9.0.0' ]
gyp verb install input version string "9.0.0"
gyp verb install installing version: 9.0.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version not already installed, continuing with install 9.0.0
gyp verb ensuring nodedir is created C:\Users\welcome.node-gyp\9.0.0
gyp verb created nodedir C:\Users\welcome.node-gyp\9.0.0
gyp http GET https://nodejs.org/download/release/v9.0.0/node-v9.0.0-headers.tar.
gz
gyp WARN download ignoring invalid "proxy" config setting: "127.1.1.1"
gyp WARN install got an error, rolling back install
gyp verb command remove [ '9.0.0' ]
gyp verb remove using node-gyp dir: C:\Users\welcome.node-gyp
gyp verb remove removing target version: 9.0.0
gyp verb remove removing development files for version: 9.0.0
gyp ERR! configure error
gyp ERR! stack Error: tunneling socket could not be established, statusCode=405
gyp ERR! stack at ClientRequest.onConnect (E:\xampp\htdocs\kngtravels\node_m
odules\request\node_modules\tunnel-agent\index.js:166:19)
gyp ERR! stack at Object.onceWrapper (events.js:328:30)
gyp ERR! stack at emitThree (events.js:145:13)
gyp ERR! stack at ClientRequest.emit (events.js:227:7)
gyp ERR! stack at Socket.socketOnData (_http_client.js:471:11)
gyp ERR! stack at emitOne (events.js:125:13)
gyp ERR! stack at Socket.emit (events.js:221:7)
gyp ERR! stack at addChunk (_stream_readable.js:265:12)
gyp ERR! stack at readableAddChunk (_stream_readable.js:252:11)
gyp ERR! stack at Socket.Readable.push (_stream_readable.js:209:10)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\nodejs\node.exe" "E:\xampp\htdocs\kngtr
avels\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsas
s_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd E:\xampp\htdocs\kngtravels\node_modules\node-sass
gyp ERR! node -v v9.0.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Build failed with error code: 1
npm WARN Error: EPERM: operation not permitted, scandir 'E:\xampp\htdocs\kngtrav
els\node_modules\scss-tokenizer\node_modules'
npm WARN { Error: EPERM: operation not permitted, scandir 'E:\xampp\htdocs\kngt
ravels\node_modules\scss-tokenizer\node_modules'
npm WARN stack: 'Error: EPERM: operation not permitted, scandir 'E:\xampp\h
tdocs\kngtravels\node_modules\scss-tokenizer\node_modules'',
npm WARN errno: -4048,
npm WARN code: 'EPERM',
npm WARN syscall: 'scandir',
npm WARN path: 'E:\xampp\htdocs\kngtravels\node_modules\scss-tokenizer\n
ode_modules' }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall:
node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\welcome\AppData\Roaming\npm-cache_logs\2017-11-08T02_43_4
6_165Z-debug.log
When reporting an bug, you must provide this information:
npm -v
):5.5.1node -v
):v9.0.0node -p process.versions
):v9.0.0node -p process.platform
):win32node -p process.arch
):x64node -p "require('node-sass').info"
):error cannot find node sass modulenpm ls node-sass
):-- (empty)The text was updated successfully, but these errors were encountered: