报错信息
npm ERR! code ENOSELF
npm ERR! Refusing to install package with name "taro-echarts" under a package
npm ERR! also called "taro-echarts". Did you name your project the same
npm ERR! as the dependency you're 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! E:
odeJs
ode_cache\_logs2020-12-03T09_49_57_601Z-debug.log
解决:
项目名称和插件名称重名了,将项目名称更改了,这个报错应该就OK了;
(package.json中的name的值更改了)