Create React App not installing, showing an error and aborting installation Create React App not installing, showing an error and aborting installation reactjs reactjs

Create React App not installing, showing an error and aborting installation


Once you have cleaned the yarn cache by running:

yarn cache clean

then subsequent calls to:

npx create-react-app your-app

will work.


I had same issue and solved it by:

Installing latest version of node, npm and yarn.

npm install -g npm@latest
nvm install node
npm install -g yarn

nvm installs Node.js and npm manages packages.


I solved this problem by deleting .yarnrc file from C:\Users\yourUserName\