npm install的时候报错 npm err code 1
Posted 柠夏
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了npm install的时候报错 npm err code 1相关的知识,希望对你有一定的参考价值。
在学习vue的时候,npm install的时候报错 npm err code 1,当时很郁闷,是‘vue init webpack my-project’命令新建的模版项目 ,怎么会报错,第一次遇到这样的问题,很郁闷。
于是就问了度娘,然后 使用了‘ npm i -g npm ’ 命令,然后再 npm install,npm run dev 的时候就正常能启动项目了。
以上是关于npm install的时候报错 npm err code 1的主要内容,如果未能解决你的问题,请参考以下文章
npm install 报错(npm ERR! errno 1)
输入npm install 报错npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-sass@4.13.1 postinstall: `no
npm install 报错:ERR! code EINTEGRITY 解决方案
npm install 报错(npm ERR! errno -4048,Error: EPERM: operation not permitted,)解决方法
npm install 报错(npm ERR! errno -4048,Error: EPERM: operation not permitted,)解决方法
npm install报错 npm ERR! enoent ENOENT: no such file or directory