NPX create-response-app не может найти подходящую версию для @ typescript-eslint / experimental-utils@2.19.1 - PullRequest
0 голосов
/ 10 февраля 2020

Я на новом компьютере и попытался запустить npx create-react-app myapp, и я получаю эту ошибку. Никогда раньше такого не было, похоже, отсутствует пакет es-lint?

$ npx create-react-app my-app
npx: installed 99 in 4.157s

Creating a new React app in C:\Users\Name\Documents\demos\my-app.

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

npm ERR! code ETARGET
npm ERR! notarget No matching version found for @typescript-eslint/experimental-utils@2.19.1.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of '@typescript-eslint/eslint-plugin'
npm ERR! notarget

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Name\AppData\Roaming\npm-cache\_logs\2020-02-10T19_41_06_770Z-debug.log

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

Deleting generated file... package.json
Deleting my-app/ from C:\Users\Name\Documents\demos
Done.

1 Ответ

0 голосов
/ 10 февраля 2020

Похоже, что теперь это известная ошибка в выпуске typcript-eslint версии 2.19.1 пару часов за go, и сейчас они работают над ее исправлением:

https://github.com/typescript-eslint/typescript-eslint/issues/1588

ОБНОВЛЕНИЕ: Это была проблема с NPM - и, вероятно, пострадали другие сборки. https://status.npmjs.org/incidents/1dpd0zjyhj2v

В любом случае, это было решено.

...