NPM installation error
npm ERR! code ENOSELF
npm ERR! Refusing to install package with name "package" under a package
npm ERR! also called "package". 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>
Match another picture:
Solution:
Let's check the in our folderpackage.jsonAnd look foranswer
We will find that the package name to be downloaded by npm is different from the name in package.json name