npm 安装指定版本依赖报错 version doesn‘t exist

报错:

npm ERR! notarget No matching version found for ionic-native@^3.5.0
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缓存

npm cache clean --force

你可能感兴趣的:(npm,前端,node.js)