首页 > 其他 > 详细

npm安装echarts报错

时间:2020-02-15 14:20:36      阅读:596      评论:0      收藏:0      [点我收藏+]
npm ERR! code ENOSELF
npm ERR! Refusing to install package with name "echarts" under a package
npm ERR! also called "echarts". Did you name your project the same
npm ERR! as the dependency youre installing?
npm ERR!
npm ERR! For more information, see:
npm ERR!     <https://docs.npmjs.com/cli/install#limitations-of-npms-install-algorithm>

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\wuqilang\AppData\Roaming\npm-cache\_logs\2020-02-15T05_03_00_902Z-debug.log

原因:项目名称和插件名称相同,将项目名称改掉,同时将package.json中name值改掉。创建项目的时候,不要起用插件名当做项目名。

npm安装echarts报错

原文:https://www.cnblogs.com/wuqilang/p/12311391.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!