输入npm install 报错npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-sass@4.13.1 postinstall: `no

Posted pxblog

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了输入npm install 报错npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-sass@4.13.1 postinstall: `no相关的知识,希望对你有一定的参考价值。

输入npm install 

报以下错误

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.13.1 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.13.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

  

这个是因为sass安装时获取源的问题,修改sass安装的源

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

然后运行

npm install

  

以上是关于输入npm install 报错npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-sass@4.13.1 postinstall: `no的主要内容,如果未能解决你的问题,请参考以下文章

npm install 报错(npm ERR! code EPERM npm ERR! syscall mkdir npm ERR! path D: ode.jsodejs)

npm install 报错(npm ERR! errno 1)

npm install的时候报错 npm err code 1

npm install 报错:ERR! code EINTEGRITY 解决方案

npm install 报错(npm ERR! errno -4048,Error: EPERM: operation not permitted,)解决方法

npm install报错 npm ERR! enoent ENOENT: no such file or directory