I wanted to work on a project so I used npx create-react-app app-name
. I got an error call back err!, I did some research and I was told to update npm. By typing npm update @latest
. Then it lead to another issue
npm Err! code ENOENT
npm ERR! syscall spawn bash
npm ERR! path C:\Users\DELL\Documents\react-expenses-tracker
npm ERR! errno -4058
npm ERR! enoent spawn bash ENOENT
npm ERR! enoent This is related to npm not being able to find a file
npm ERR! enoent
I have deleted node js and installed it again.
Usually if I have issues like this y used to type npm cache clean --force
and everything will work fine again but now it shows a warning .
Edit: My OS is Windows.