首页 > 解决方案 > 为什么在使用 npx create-react-app my-app 时会出现此错误?

问题描述

当我尝试安装 create-react-app 时,我遇到了这种错误

Copyright (C) 2015 Microsoft Corporation. All rights reserved.

PS C:\Users\George Bobby> npx create-react-app my-app
Error: EPERM: operation not permitted, mkdir 'C:\Users\George'
command not found: create-react-app
PS C:\Users\George Bobby>

标签: reactjscreate-react-appnpx

解决方案


我知道了 我更新了 NPM 和节点 谢谢


推荐阅读