【发布时间】:2021-02-26 02:41:34
【问题描述】:
$ npx create-react-app awesomeApp 错误:EPERM:不允许操作,mkdir 'C:\Users\' 找不到命令:create-react-app
【问题讨论】:
-
是否安装了 CRA?全球安装?
-
@DrewReese 不建议将 CRA 全局安装为 using npx will make sure latest version of CRA is used。
-
您收到
EPERM错误。检查npm - EPERM: operation not permitted on Windows -
@AjeetShah 拍摄,你是对的。我需要运行 CRA 已经有一段时间了。我的问题仅基于
command not found: create-react-app消息。
标签: reactjs