简体   繁体   English

命令 - 'npx create-react-app myapp' 不起作用

[英]the command - 'npx create-react-app myapp' does not work

the following command throws the following error command = npx create-react-app my-app error = '"node"' is not recognized as an internal or external command, operable program or batch file.以下命令抛出以下错误 command = npx create-react-app my-app error = '"node"' 不是内部或外部命令、可运行程序或批处理文件。

before you say create node as an environment variable - it has been created, node works perfectly fine, npm works perfectly fine - just calling npx raises this issue在你说创建节点作为环境变量之前 - 它已经创建,节点工作正常,npm 工作正常 - 只需调用 npx 就会引发这个问题

npm、npx、节点版本

在此处输入图像描述

any idea why?知道为什么吗?

fixed the issue by running the command on command prompt and not using hyper terminal think it has issues running maybe windows based commands on linux通过在命令提示符下运行命令而不使用超级终端来解决问题

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

相关问题 npx create-react-app myapp 不起作用。 中止安装 - npx create-react-app myapp doesn't work. Aborting installation npx create-react-app 命令不起作用 - npx create-react-app command does not working 命令 `npx create-react-app my-app` 不会创建应用程序文件 - The command `npx create-react-app my-app` does not create an application file 无法使用 npx install 命令创建-react-app - unable to create-react-app using npx install command 无法使用 npx create-react-app myproject 命令创建反应应用程序 - not able to create react app using npx create-react-app myproject command React.js - 使用“npx create-react-app”命令时的警告和错误 - React.js - warnings & errors while using "npx create-react-app" command 使用 npx create-react-app newapp 命令,但在一定时间后显示 57 个软件包正在寻找资金 - using npx create-react-app newapp command but after certain time it show 57 packages are looking for funding npx create-react-app my-app 错误:rollbackFailedOptional - npx create-react-app my-app ERORR: rollbackFailedOptional 使用 npx create-react-app 创建的应用无法启动, - App created with npx create-react-app failed to start, 我正在尝试使用“npx/npm create-react-app hello”命令创建一个反应应用程序并得到了整个消息 - I am trying to create a react app using the “npx/npm create-react-app hello” command and got this whole message
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM