Some Installation Problems with Node.js
· β 1 min read
1. Installing node-sass When installing node-sass, the node scripts/install stage downloads a .node file from github.com, and network problems often cause this to fail.
You can add an .npmrc file inside the project to configure a proxy for the installation:
1 2 sass_binary_site=https://npm.taobao.org/mirrors/node-sass/ registry=https://registry.npm.taobao.org Or install with cnpm:
1 2 npm install -g cnpm --registry=https://registry.