react npx create-react-app my-app 报错: Remove the existing file?

npm ERR! code EEXIST
npm ERR! path D:\NodeJs\node_modules\mkdirp\bin\cmd.js
npm ERR! dest D:\NodeJs\mkdirp
npm ERR! EEXIST: file already exists, cmd shim 'D:\NodeJs\node_modules\mkdirp\bin\cmd.js' -> 'D:\NodeJs\mkdirp'
npm ERR! File exists: D:\NodeJs\mkdirp
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\Chen Zi Xu\AppData\Roaming\npm-cache\_logs\2021-07-24T15_18_08_351Z-debug.log
阅读 1.4k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题