へっぽこびんぼう野郎のnewbie日記

けろけーろ(´・ω・`)! #vZkt8fc6J

Refusing to install package with name "ほげほげ" under a package の解決

npm ERR! code ENOSELF
npm ERR! Refusing to install package with name "cube" under a package
npm ERR! also called "cube". 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!     /Users/usrNeko/.npm/_logs/2017-10-23T02_09_11_172Z-debug.log

package.jsonname と、$ npm install {targetPackage}が同じだと発生する。

なんでGitHubから落としたレポジトリにこう書いてあるんだキレそう