美文网首页
Refusing to install package with

Refusing to install package with

作者: geeklibin | 来源:发表于2020-03-29 13:39 被阅读0次

npm安装报错,Refusing to install package with name "xxx" under a package npm ERR! also called "xxx". Did you name your project the same npm ERR! as the dependency you're installing?

原因是:package.json的name字段值  与要安装的包名一样。

解决:修改package.json的name字段。

相关文章

网友评论

      本文标题:Refusing to install package with

      本文链接:https://www.haomeiwen.com/subject/dwoyuhtx.html