NPM 安装 404 资源

NPM Install 404 Resource

执行此命令后:

npm install node-sass

它抛出这个错误:

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

我正在使用 Node.js 命令提示符,我做了 npm update 5 次,它仍然尝试从 404 存储库下载...我找到了工作存储库请求的节点,但我可以找不到如何手动下载并从那里开始安装,感谢您的帮助,我正在使用 Windows x64。

正如他们的 documentation 所说:

If you see a 404 when trying to install node-sass, this indicates that your trying to install a version of node-sass that doesn't support your version of NodeJS, or uses an alternate V8 environment (Meteor, Electron, etc...) that isn't supported by node-sass.

If you encounter this, please check what version of NodeJs you're running (node -v) and check for a supported version of node-sass for your NodeJs by checking our release page.