Попытка создать новое приложение
npx create-react-app my-test-app
и получая эту ошибку в консоли - неудивительно, что esLint.tgz выдает ошибку 404 в браузере. Как это обойти?
Запуск npm 8.13.2 и node 18.4.0
Подобных решений не нашел - тоже пытался очистить кеш. Любые идеи?
npx create-react-app my-test-app
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types/eslint/-/eslint-8.4.4.tgz - Not found
npm ERR! 404
npm ERR! 404 '@types/eslint@https://registry.npmjs.org/@types/eslint/-/eslint-8.4.4.tgz' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\<user>\AppData\Local\npm-cache\_logs\2022-06-30T19_58_36_128Z-debug-0.log
Aborting installation.
npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed
🤔 А знаете ли вы, что...
React использует компонентную архитектуру для организации кода.
Ошибка репозитория @eslint, см. Github: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/61032