npm ERR! code ENOSELF
npm ERR! Refusing to install package with name "webpack" under a package
npm ERR! also called "webpack". Did you name your project the same
npm ERR! as the dependency you're installing?

 

说明你执行命令的目录里有一个package.json文件,并且该文件里的name字段就叫webpack

换个名字就好了

相关文章:

  • 2022-12-23
  • 2021-12-02
  • 2021-07-13
  • 2022-01-19
  • 2022-12-23
  • 2021-08-16
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-24
  • 2022-12-23
  • 2022-01-30
  • 2022-12-23
  • 2021-07-10
  • 2023-03-21
相关资源
相似解决方案