npm 私服nexus 无法下载到自己上传的最新包

npm WARN EBADENGINE Unsupported engine {

npm WARN EBADENGINE   package: '[email protected]',

npm WARN EBADENGINE   required: { node: '>=8.11.4', npm: '6.4.1' },

npm WARN EBADENGINE   current: { node: 'v14.18.0', npm: '8.0.0' }

npm WARN EBADENGINE }

1、删除本地 package-lock.json,node_modules

2、执行下列语句

// 重要的就是清除缓存

npm cache clear --force

扫描二维码关注公众号,回复: 13417595 查看本文章

npm cache clean --force

3、重新执行 npm install 安装包

猜你喜欢

转载自blog.csdn.net/my_bo/article/details/120741192