Skip to content

Trouble in create-react-app in my local environment #13495

@Duraiiii

Description

@Duraiiii

MacBook-Pro ~ % npx create-react-app my-app

Creating a new React app in /Users/Durai/my-app.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...

npm ERR! code EEXIST
npm ERR! syscall mkdir
npm ERR! path /Users/Durai/.npm/_cacache/content-v2/sha512/6d/ff
npm ERR! errno EEXIST
npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/scheduler: EACCES: permission denied, mkdir '/Users/Durai/.npm/_cacache/content-v2/sha512/6d/ff'
npm ERR! File exists: /Users/Durai/.npm/_cacache/content-v2/sha512/6d/ff
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: /Users/Durai/.npm/_logs/2024-01-13T12_30_16_019Z-debug-0.log

Aborting installation.
npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions