在npm安装上我得到了以下错误:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for caniuse-lite@^1.0.30001349.
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 'browserslist'
npm ERR! notargetcaniuse-lite不是package.json中的依赖项,所以我尝试安装它,但是我得到了:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for caniuse-lite@1.0.30001349.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.在https://www.npmjs.com/package/caniuse-lite网页上,我看到1.0.30001349版本是几小时前发布的。这个图书馆的最后一次出版会不会有问题?我能做些什么来解决问题吗?我真的被事态发展困住了。
发布于 2022-06-08 10:36:18
如我所料,几个小时后npm的安装就结束了,没有出错。也许发布1.0.30001349版本有问题。
https://stackoverflow.com/questions/72528603
复制相似问题