Search code examples
javascriptnpmterminalnoscript

error: this is probably not a problem with npm. This is likely additonal logging output above


C:\Users\Jorge\Desktop\space-xplorer>npm install

[email protected] install C:\Users\Jorge\Desktop\space-xplorer\node_modules\node-sass node scripts/install.js

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

HTTP error 404 Not Found

Hint: If github.com is not accessible in your location try setting a proxy via HTTP_PROXY, e.g.

  export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

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 logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Jorge\AppData\Roaming\npm-cache_logs\2020-01-23T22_44_17_513Z-debug.log


Solution

  • you should ask a question and provide some explanation, not just throw an error up and expect an answer. But I've seen this before:

    Basically NPM is trying lacking a dependency for loading node-sass, and its fallback is to get the file it needs from github.

    Looks like you're behind a firewall that blocks you from direct access to github, but all you actually need is that file bindings file.

    You would have to have a proxy server that is allowed to access github, or download the binary file yourself.