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?
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