报错内容
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 的值与你要安装的包名称一样,冲突了,将你的name值改一下就好了。