【无标题】安装依赖报错: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

原因是安装的依赖和项目重名了 ,解决方式在package.json这里修改一下项目名称即可,不和安装的依赖名字一样就行
【无标题】安装依赖报错:Refusing to install package with name “***“ under a package_第1张图片

你可能感兴趣的:(经验之谈,vue.js,前端,npm)