简体   繁体   中英

React npm start issue - node.js latest version

I have installed the latest version of node.js and tried to create my very first react application.The applications gets created fine.but when i navigate to the application and try to use the command npm start,it throws an error.I have tried to remove the npm_modules,update npm,npm install create-react-app command.Still the problem persists.Any idea or suggestion will be very helpful!Thanks in advance!

Well the issue is resolved..i just had to set my path variable to c:\windows\system32 using the command PATH=%PATH%;c:\windows\system32 !Thanks for all those who tried to help me!

If you use CRA, it is recommended to use npx instead of npm.

npx create-react-app myapp

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM