Skip to content

Instantly share code, notes, and snippets.

@gaearon
Created June 28, 2018 00:53
Show Gist options
  • Save gaearon/246f6380610e262f8a648e3e51cad40d to your computer and use it in GitHub Desktop.
Save gaearon/246f6380610e262f8a648e3e51cad40d to your computer and use it in GitHub Desktop.
What to do when npm init -y fails

If you get an "Invalid name" error when you run npm init -y, rename the project folder to only contain lowercase ASCII letters or hyphens (e.g. my-project), and try again.

@axew94
Copy link

axew94 commented Jun 25, 2021

hi i have a problem with npm i dont know what happend...
image

please send help!

@Ochukzy18
Copy link

Pleas How do I run these???``

@ahreenah
Copy link

hi i have a problem with npm i dont know what happend... image

please send help!

npm i semver

@Evanoken
Copy link

first enter into the directory you have created using command "cd lilo" after that npm init -y

@AldoTorrez
Copy link

tienes que estar dentro de un carpeta estas en el desktop

@TatsianaMol
Copy link

photo_2024-05-09_16-58-44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment