node-sass问题解决 An error occurred while running npm install

来源:互联网 发布:淘宝网二手笔记本 编辑:程序博客网 时间:2024/05/22 10:46
 An error occurred while running npm install (exit code 1):                npm WARN deprecated object-keys@0.2.0: Please update to the latest        object-keys        npm WARN prefer global node-gyp@3.6.2 should be installed with -g                > node-sass@4.5.3 install E:\ionic\test1\node_modules\node-sass        > node scripts/install.js

 创建ionic应用程序 报错如上所示  用一下代码 可以解决

网络原因 导致node-sass出错

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


阅读全文
2 0
原创粉丝点击