Please help. I've tried all what people have done already. I ran the commands below step by step as follows...
node -v
v17.3.0
npm -v
8.3.1
npx -v
8.3.1
yarn -v
1.22.17
npm uninstall -g create-react-app
yarn remove global create-react-app
npm cache clean -f
npm i -g npm@latest
npx clear-npx-cache
npx [email protected]
Been dealing with this bug for quite some time. Nobody has been able to solve it thus far.
Again, I cannot do npx create-react-app. It creates package.json file but not the template. I get the "need to uninstall global create-react-app" error. Windows 10 machine. Using bash inside VsCode.
I feel that up a directory or two, there is some hidden create-react-app file. But I've been the admin and ran these commands from the root directory C:/users/admin.
Does not work using yarn either.
It worked once I uninstalled nodejs and re-installed it again but then it starts error again later.