错误信息:
Cannot download "https://github.com/sass/node-sass/releases/download/v3.8.0/win3 2-x64-57_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 config set proxy http://example.com:8080
解决办法:
npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm install -g ionic@3.8.0
参考:
https://www.jianshu.com/p/f24d526f1458
404 downloading binding.node file
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.