简体   繁体   English

npm 错误。 notarget 找不到与@typescript-eslint/parser@5.4.0 匹配的版本

[英]npm ERR! notarget No matching version found for @typescript-eslint/parser@5.4.0

I am trying to install eslint parser, and this is the error I am facing.我正在尝试安装 eslint 解析器,这是我面临的错误。 Although "@typescript-eslint/parser": "^5.4.0" has been added in the package.json,虽然在 package.json 中添加了"@typescript-eslint/parser": "^5.4.0"

I am not able to build the package.我无法构建 package。

I tried deleting package-lock.json, and still it is the same.我试过删除package-lock.json,还是一样。

Can I delete the node_modules folder and try again?我可以删除 node_modules 文件夹并重试吗? What could I do to overcome this error?我能做些什么来克服这个错误?

The version you are trying might not be available on the registry.您正在尝试的版本可能在注册表中不可用。 Try downgrading to a different version and then install again.尝试降级到其他版本,然后重新安装。

暂无
暂无

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

相关问题 npm err notarget找不到bootstrap @ 3的匹配版本 - npm err notarget no matching version found for bootstrap@3 npm ERR! notarget找不到与lodash@4.17.12-pre匹配的版本 - npm ERR! notarget No matching version found for lodash@4.17.12-pre npm 错误! notarget 找不到与 type@module 匹配的版本 - npm ERR! notarget No matching version found for type@module 找不到与 @typescript-eslint/scope-manager@4.22.1 匹配的版本 - No matching version found for @typescript-eslint/scope-manager@4.22.1 安装包时卡住。 npm 错误。 notarget 找不到与 sockjs-client@0.0.0-unreleasable 匹配的版本 - stuck while installing packages. npm ERR! notarget No matching version found for sockjs-client@0.0.0-unreleasable 创建反应应用程序:npm 错误。 notarget 未找到与 toidentifier@1.0.1 匹配的版本 - create-react-app : npm ERR! notarget No matching version found for toidentifier@1.0.1 呃! notarget 没有为 elements@~0.1.2 找到匹配的版本 - ERR! notarget No matching version found for elements@~0.1.2 npm 错误! 尝试获取 http://registry.npmjs.org/@typescript-eslint%2feslint-plugin 时响应超时(超过 30000 毫秒) - npm ERR! Response timeout while trying to fetch http://registry.npmjs.org/@typescript-eslint%2feslint-plugin (over 30000ms) eslint 缩进和@typescript-eslint/indent 冲突 - eslint indent and @typescript-eslint/indent conflict 已为@typescript-eslint/parser 设置解析错误“parserOptions.project” - Parsing error "parserOptions.project" has been set for @typescript-eslint/parser
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM