简体   繁体   English

NPX create-react-app 找不到 @typescript-eslint/experimental-utils@2.19.1 的匹配版本

[英]NPX create-react-app cannot find a matching version for @typescript-eslint/experimental-utils@2.19.1

I'm on a new computer and tried to run npx create-react-app myapp and I am receiving this error.我在一台新计算机上并尝试运行npx create-react-app myapp并且我收到此错误。 Never had this before, it looks like it's missing the es-lint package?以前从来没有过,好像缺少 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.

Looks like this is now a known bug in the release of typescript-eslint version 2.19.1 a couple hours ago and they're working on fixing it at the moment:看起来这是几个小时前发布的 typescript-eslint 版本 2.19.1 中的一个已知错误,他们目前正在修复它:

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

UPDATE: This was a problem with NPM - and there were likely other builds affected.更新:这是 NPM 的一个问题 - 可能还有其他版本受到影响。 https://status.npmjs.org/incidents/1dpd0zjyhj2v https://status.npmjs.org/incidents/1dpd0zjyhj2v

Either way, this has been resolved.不管怎样,这个问题已经解决了。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 关于“create-react-app --template typescript”如何与 typescript-eslint 连接的困惑 - Confusion about how `create-react-app --template typescript` hooked up with typescript-eslint 'npx create-react-app [name] --template typescript' 错误 - 'npx create-react-app [name] --template typescript' error npx create-react-app 使用旧版本运行 - npx create-react-app running with old version npx create-react-app 失败并出现错误“找不到模块块流 - npx create-react-app fails with error "cannot find module block-stream 找不到与 @typescript-eslint/scope-manager@4.22.1 匹配的版本 - No matching version found for @typescript-eslint/scope-manager@4.22.1 无法加载在 'package.json » eslint-config-react-app#overrides[0]' 中声明的解析器 '@typescript-eslint/parser':找不到模块 'typescript' - Failed to load parser '@typescript-eslint/parser' declared in 'package.json » eslint-config-react-app#overrides[0]': Cannot find module 'typescript' 创建反应应用程序 - 没有打字稿,得到错误:无法加载解析器'@typescript-eslint/parser' - create react app - without typescript , got Error: Failed to load parser '@typescript-eslint/parser' npm init @eslint/config 错误 & npx create-react-app。 错误 - npm init @eslint/config error & npx create-react-app . error npx create-react-app 获取错误 - npx create-react-app get error Ubuntu 中的 npx create-react-app 错误 - Error with npx create-react-app in Ubuntu
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM