Refusing to install package with

2020-03-29  本文已影响0人  geeklibin

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字段。

上一篇 下一篇

猜你喜欢

热点阅读