npx create-react-app my-app 没有响应

问题描述 投票:0回答:1

我正在尝试在 Ubuntu 中运行 npx create-react-app my-app ,它根本没有响应,而只是保持终端处于工作状态,除非我通过 Ctrl+C

取消

Shell

我已删除并重新安装了 Node 和 npm。

节点:v18.18.2 npm:9.8.1 Ubuntu 22.04.3 LTS

npm create-react-app npx
1个回答
0
投票

您没有将项目名称传递给您所显示的图像中的 CL。

npx create-react-app my-app

而不是:

npx create-react-app
© www.soinside.com 2019 - 2024. All rights reserved.