小工具知识网

当前位置: 首页 > 行业知识 > 解决npm install版本不匹配问题: npm ERR! code ETARGET npm ERR! notarget No matching version found for

行业知识

解决npm install版本不匹配问题: npm ERR! code ETARGET npm ERR! notarget No matching version found for

2026-11-16 16:27:31 来源:互联网转载

1.查看目标包的版本

npm view xxx

以noindex.php/tags-41973.html" >demon包为例:npm view nodemon

终端执行结果为:

2.带上版本号重新安装

npm install nodemon@2.0.20即可成功

上一篇:轻松打开PFC代码框,入门指南

下一篇:唐山居民医保异地就医怎么办理备案登记