Failed at the node-sass@4.13.1 postinstall script. npm ERR! This is probably not a problem with npm.

Posted duhui

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Failed at the node-sass@4.13.1 postinstall script. npm ERR! This is probably not a problem with npm.相关的知识,希望对你有一定的参考价值。

技术图片

看的第一遍,找不到sass,查看node-sass文件,里面没有文件

解决办法

下载sass之前,要先修改源

先把node-modules删除掉

执行以下命令

npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass

再 npm install

 

 

以上是关于Failed at the node-sass@4.13.1 postinstall script. npm ERR! This is probably not a problem with npm.的主要内容,如果未能解决你的问题,请参考以下文章