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

npm cache clean --force

3、重新执行 npm install 安装包

Guess you like

Origin blog.csdn.net/my_bo/article/details/120741192