[英]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.