查看: 62|回覆: 0

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

[複製鏈接]

1

主題

0

回帖

0

積分

热心网友

金币
0
閲讀權限
220
精華
0
威望
0
贡献
0
在線時間
0 小時
註冊時間
2008-11-30
發表於 2020-3-12 21:58:00 | 顯示全部樓層 |閲讀模式
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
```


来源:https://www.cnblogs.com/leoshi/p/12483068.html
回覆

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即注册

本版積分規則

相关侵权、举报、投诉及建议等,请发 E-mail:qiongdian@foxmail.com

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部