I’m upping this thread as I’m encountering the same issue but couldn’t find a way to solve it.
I have run the “npm install -g create-react-app” but without the “-g” part, as running it with the -g would give me an access error. The result was the following:
npm WARN deprecated email@example.com: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN saveError ENOENT: no such file or directory, open ‘/Users/alpha/Downloads/Coding/package.json’
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open ‘/Users/alpha/Downloads/Coding/package.json’
npm WARN Coding No description
npm WARN Coding No repository field.
npm WARN Coding No README data
npm WARN Coding No license field.
added 99 packages from 47 contributors and audited 193 packages in 6.92s
5 packages are looking for funding
npm fund for details*
found 0 vulnerabilities
So it seems it got installed somehow.
After that, I’ve tried to run “create-react-app projectname” in the terminal but it got me a “-bash: create-react-app: command not found”
Could you help me solving this issue and moving forward in the project?
Thank you very much in advance for your help.