简体   繁体   中英

unable to create a react app using “create-react-app” nvm is not compatible with the npm config

recently updated node and yarn But now I get an error when running create-react app package.json is generated then deleted please help

Tried reinstalling node and npm even yarn but still same outcome please help

Try following.

  • npm rm -g create-react-app
  • npm install -g create-react-app
  • npx create-react-app my-app

here is a thread that may help too.

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