【发布时间】:2020-07-14 16:00:37
【问题描述】:
我在 Windows 中创建 React 应用程序时遇到问题,希望你们能帮助我..
我已经在超级终端中写了这个命令
npx create-react-app new-app
我检查了我的 node.js 版本是 12.16.1,我的 npm 版本和 npx 版本都是 6.14.4。
我不知道为什么我总是收到这个错误
Error: EPERM: operation not permitted, mkdir 'C:\Users\Deepak'
command not found: create-react-app
【问题讨论】:
-
你可以尝试全局安装。
npm i -g create-react-app,然后只需运行create-react-app new-app -
你能试试这些steps to create a react project吗?
标签: node.js reactjs npm create-react-app npx