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.
-
-
Save gaearon/246f6380610e262f8a648e3e51cad40d to your computer and use it in GitHub Desktop.
brenda759
commented
Mar 9, 2021
This appears when I run the second command
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"darwin"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: undefined
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: x64
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Local\npm-cache_logs\2021-04-26T11_48_47_873Z-debug.log
NumNine here you need to read this; https://stackoverflow.com/questions/49475492/npm-install-error-code-ebadplatform/49475537
Pleas How do I run these???``
first enter into the directory you have created using command "cd lilo" after that npm init -y
tienes que estar dentro de un carpeta estas en el desktop
i am having the same issue , did you find a solution to this ? please share