0

I am new to React. I am trying to create a react app. I am facing issue while creating a react-app. Please help me.

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
RobC
  • 20,007
  • 20
  • 62
  • 73

1 Answers1

-1

Delete the files in the C:\Users\MY PC\AppData\Roaming\npm\ folder.

Bhargav Rao
  • 45,811
  • 27
  • 120
  • 136
  • 2
    Try phrasing a clear, helpful assertive answer? Do not just propose an experiment in a rhetoric question. Explain why, what could happen and how to react for the different possible outcomes. – Yunnosch Oct 04 '20 at 20:46
  • 2
    This does not provide an answer to the question. Once you have sufficient [reputation](/help/whats-reputation) you will be able to [comment on any post](/help/privileges/comment); instead, [provide answers that don't require clarification from the asker](https://meta.stackexchange.com/questions/214173/why-do-i-need-50-reputation-to-comment-what-can-i-do-instead). – Yunnosch Oct 04 '20 at 20:47