npm WARN Invalid name:

Have you received below error while doing npm install?

npm install
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN Invalid name: Foo Bar


  • In your package.json, “name” should be all small characters, without any special characters.

Read “name” for all the naming conventions.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *