try this
npm install -g create-react-app
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I encountered such a problem, I installed NodeJS and tried to use the npx create-react-app my-app command in the VScode terminal and this is what it says to me
Program 'npx.cmd' failed to run: The system cannot find the file specifiedAt
For the smart people who will write about Path, you don’t have to write, I’ve already checked everything there 100 times, tried reinstalling, running with administrator rights, nothing helps
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
try this
npm install -g create-react-app
that's not very helpful it would be better if you post the solution here (if you have it) cause unfortunately I am facing the same exact issue
My name is Jonathan Deives. I'm an Independent Advisor and I'll be glad to help you today.
This forum is for casual users, as your question is more complex, please use the Microsoft Q&A Forum (The System Administrators and IT Pro Forum) where they can help you better.
I am having the same problem for over a week and I can't find any solution I tried everything you mentioned as well. have you found any kinda solution?
try this
yarn create react-app your-app-name
or this
npm init -y npm install react react-dom react-scripts --save
Then, add scripts to your package.json
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
}
npm start
or try this
If the issue persists, you can try specifying the full path to the npx.cmd file. Locate where npx.cmd is installed and use its full path in your command:
C:\path\to\node_modules.bin\npx.cmd create-react-app your-app-name