[Node.js]node-sass国内源安装

SASS_BINARY_SITE=https://npm.taobao.org/mirrors/node-sass/ npm install node-sass

> node-sass@4.13.1 install /Users/Leo/node_modules/node-sass
> node scripts/install.js

Downloading binary from https://npm.taobao.org/mirrors/node-sass//v4.13.1/darwin-x64-72_binding.node
Download complete  ⸩ ⠋ :
Binary saved to /Users/Leo/node_modules/node-sass/vendor/darwin-x64-72/binding.node
Caching binary to /Users/Leo/.npm/node-sass/4.13.1/darwin-x64-72_binding.node

> node-sass@4.13.1 postinstall /Users/Leo/node_modules/node-sass
> node scripts/build.js

Binary found at /Users/Leo/node_modules/node-sass/vendor/darwin-x64-72/binding.node
Testing binary
Binary is fine
npm WARN saveError ENOENT: no such file or directory, open '/Users/Leo/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/Users/Leo/package.json'
npm WARN Leo No description
npm WARN Leo No repository field.
npm WARN Leo No README data
npm WARN Leo No license field.

+ node-sass@4.13.1
updated 1 package and moved 172 packages in 38.652s

3 packages are looking for funding
  run `npm fund` for details
```
posted @ 2020-03-12 21:58  LeoShi2020  阅读(2630)  评论(0编辑  收藏  举报