[Untitled] Installation dependency error: Refusing to install package with name “***” under a package

  1. 报错信息: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.
insert image description here

Guess you like

Origin blog.csdn.net/m0_37408390/article/details/124941561