vue项目在使用npm install安装依赖时,提示如下错误,该如何解决呢?以下方法亲测有效。 npm ERR! code 128 npm ERR! Command failed: git clone –depth=1 -q -b f……
vue项目在使用npm install
安装依赖时,提示如下错误,该如何解决呢?以下方法亲测有效。
npm ERR! code 128
npm ERR! Command failed: git clone –depth=1 -q -b fix/hr_is_inline
其实解决方案非常简单,只要执行如下指令即可解决:
npm cache clean --force
然后再去执行npm install
就发现这个问题就解决了,是不是很简单!
还没有评论呢,快来抢沙发~