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.
Created
June 28, 2018 00:53
-
-
Save gaearon/246f6380610e262f8a648e3e51cad40d to your computer and use it in GitHub Desktop.
What to do when npm init -y fails
TatsianaMol
commented
May 9, 2024
i am having the same issue , did you find a solution to this ? please share
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment