- 报错信息:Refusing to install package with name “vue-” under a package
npm ERR! also called “vue-”. Did you name your project the same
The reason is that the installed dependencies have the same name as the project. The solution is to modify the project name in package.json, which is not the same as the installed dependency name.