简体   繁体   中英

Create reactjs application Command not found

Every time I write create-react-app projectname. i am facing problem like command not found.

npx create-react-app command not found: create-react-app

You need to specify the name of the app you want to create:

npx create-react-app app-name

Also, make sure you have node installed

create-react-app should be installed globally

Run this

npm i create-react-app -g

Then create your app

create-react-app app-name

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