I want to create a react app although "npx create-react-app [app-name]" won't work in my project folder. I get the an "Incorrect integrity when fetching from the cache" error although I'm not familiar with why it's not fetching. The error is below.
=================================
Vincents-MacBook-Pro:Personal-Projects Vince$ npx create-react-app my-app
Creating a new React app in /Users/Vince/Documents/Coding-Projects/Personal-Projects/my-app.
Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts...
yarn add v1.19.0 [1/4] 🔍 Resolving packages... [2/4] 🚚 Fetching packages... error Incorrect integrity when fetching from the cache info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Aborting installation. yarnpkg add --exact react react-dom react-scripts --cwd /Users/mountainthief/Documents/Coding-Projects/Personal-Projects/test-app has failed.
Deleting generated file... package.json Deleting generated file... yarn.lock Deleting test-app/ from /Users/Vince/Documents/Coding-Projects/Personal-Projects Done.
=================================
I've tried "npm cache clean --force" and uninstalling yarn to no avail.
What could I be missing?
npm cache clean --force uninstall yarn
Creating a new React app in /Users/Vince/Documents/Coding-Projects/Personal-Projects/my-app.
Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts...
yarn add v1.19.0 [1/4] 🔍 Resolving packages... [2/4] 🚚 Fetching packages... error Incorrect integrity when fetching from the cache info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Aborting installation. yarnpkg add --exact react react-dom react-scripts --cwd /Users/mountainthief/Documents/Coding-Projects/Personal-Projects/test-app has failed.
Deleting generated file... package.json Deleting generated file... yarn.lock Deleting test-app/ from /Users/Vince/Documents/Coding-Projects/Personal-Projects Done.
I expected a functional React-app complete with node-modules although I received the error:
yarn add v1.19.0 [1/4] 🔍 Resolving packages... [2/4] 🚚 Fetching packages... error Incorrect integrity when fetching from the cache info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
yarn cache clean?