当前位置: 代码网 > it编程>编程语言>Java > npm报错Failed at the node-sass@4.14.1 postinstall script

npm报错Failed at the node-sass@4.14.1 postinstall script

2024年07月28日 Java 我要评论
2.重新安装 node-sass。

npm install 执行报错 failed at the node-sass@4.14.1 postinstall script:
npm err! code elifecycle
npm err! errno 1
npm err! node-sass@4.14.1 postinstall: `node scripts/build.js`
npm err! exit status 1
npm err! 
npm err! failed at the node-sass@4.14.1 postinstall script.
npm err! this is probably not a problem with npm. there is likely additional logging output above.

npm err! a complete log of this run can be found in:
npm err!     /root/.npm/_logs/2022-05-11t01_24_13_994z-debug.log

1.卸载 

      npm uninstall node-sass

2.重新安装 node-sass

npm i node-sass@4.14.1 --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/ --unsafe-perm
 

(0)

相关文章:

版权声明:本文内容由互联网用户贡献,该文观点仅代表作者本人。本站仅提供信息存储服务,不拥有所有权,不承担相关法律责任。 如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 2386932994@qq.com 举报,一经查实将立刻删除。

发表评论

验证码:
Copyright © 2017-2025  代码网 保留所有权利. 粤ICP备2024248653号
站长QQ:2386932994 | 联系邮箱:2386932994@qq.com