Whenever I try to run “npx create-react-app” my-app, it shows the below error:
npm ERR! 404 Not Found
Why “npm ERR! 404 Not Found” when trying to install ESLint 8.4.4 with create-react-app Occurs?
This error is basically seen because of eslint v.8.4.4 version on the NPM so to resolve the error, Change your package.json and use 8.4.3 version instead!
How to Solve the “npm ERR! 404 Not Found” when trying to install ESLint 8.4.4 with create-react-app
To solve the error, Change your package.json and use eslint 8.4.3 version instead!
Below are the mention fix you can use to solve the error:
Fix 1: Pin for Yarn
"resolutions": {
"@types/eslint": "8.4.3"
}
Fix 2: Do the “overrides” for npm
"overrides": {
"@types/eslint": "8.4.3"
}