I cannot open a new project at the WebStorm React JS.
I am starting a new project and I got this error.
"C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npx-cli.js" --yes create-react-app .
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\projects\todo-new/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\projects\todo-
new\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ivanh\AppData\Local\npm-cache\_logs\2021-03-08T18_52_52_706Z-debug.log
Done
I found a way. maybe it will help someone.
npm uninstall -g create-react-app
npm install -g npm@latest
deleted folder node_modules