简体   繁体   中英

NPM gives this error while updating every package locally, but it allows to update package globally

在此处输入图像描述

While updating packages locally to their latest version, npm gives this error. But it allows to update them globally, why? and How should solve this ERESOLVE error to update them locally?

I guess you can try to downgrade node.js to 14 (are you using 16+?)

using nvm https://github.com/nvm-sh/nvm/blob/master/README.md

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM