【发布时间】:2020-05-20 09:00:43
【问题描述】:
我是 React 新手。我正在尝试创建一个反应应用程序。我在创建反应应用程序时遇到问题。请帮帮我。
npm ERR! code EEXIST npm ERR! path C:\Users\MY PC\AppData\Roaming\npm\node_modules\create-react-app\index.js npm ERR! dest C:\Users\MY PC\AppData\Roaming\npm\create-react-app.cmd npm ERR! EEXIST: file already exists, cmd shim 'C:\Users\MY PC\AppData\Roaming\npm\node_modules\create-react-app\index.js' -> 'C:\Users\MY PC\AppData\Roaming\npm\create-react-app.cmd' npm ERR! File exists: C:\Users\MY PC\AppData\Roaming\npm\create-react-app.cmd npm ERR! Remove the existing file and try again, or run npm npm ERR! with --force to overwrite files recklessly. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\MY PC\AppData\Roaming\npm-cache\_logs\2020-05-20T08_41_05_617Z-debug.log
【问题讨论】:
-
这能回答你的问题吗? npm ERR! Refusing to delete / code EEXIST
-
这不是同一个问题。这是不同的。