简体   繁体   English

未找到创建 reactjs 应用程序的命令

[英]Create reactjs application Command not found

Every time I write create-react-app projectname.每次我写 create-react-app 项目名。 i am facing problem like command not found.我面临着找不到命令之类的问题。

npx create-react-app command not found: create-react-app未找到npx create-react-app命令: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 create-react-app应该全局安装

Run this运行这个

npm i create-react-app -g

Then create your app然后创建你的应用

create-react-app app-name

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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