【问题标题】:npm ERR! notarget No matching version found for @typescript-eslint/parser@5.4.0npm 错误! notarget 找不到与@typescript-eslint/parser@5.4.0 匹配的版本
【发布时间】:2022-01-02 13:23:08
【问题描述】:

我正在尝试安装 eslint 解析器,这是我面临的错误。 虽然在package.json中添加了"@typescript-eslint/parser": "^5.4.0"

我无法构建包。

我试过删除package-lock.json,还是一样。

我可以删除 node_modules 文件夹并重试吗?我能做些什么来克服这个错误?

【问题讨论】:

    标签: node.js reactjs npm package.json


    【解决方案1】:

    您正在尝试的版本可能在注册表中不可用。尝试降级到其他版本,然后重新安装。

    【讨论】:

      猜你喜欢
      • 2018-06-27
      • 1970-01-01
      • 2021-11-06
      • 2019-01-22
      • 2019-05-09
      • 2021-07-26
      • 2017-11-03
      • 1970-01-01
      • 2020-05-26
      相关资源
      最近更新 更多