Open daolou opened 1 year ago
In mac,while switch node version,such as v16 switch to v18,the global npm packages which installed in v16 will lose in v18.
v16
v18
About nvm, it could be solued by nvm install v18 --reinstall-packages-from=v16
nvm install v18 --reinstall-packages-from=v16
asdf
There is no.
I'm not sure how exactly this works with nvm so I've moved it to the asdf-nodejs repo issue tracker.
Is your feature request related to a problem? Please describe
In mac,while switch node version,such as
v16
switch tov18
,the global npm packages which installed inv16
will lose inv18
.Describe the proposed solution
About nvm, it could be solued by
nvm install v18 --reinstall-packages-from=v16
Describe similar
asdf
features and why they are not sufficientAbout nvm, it could be solued by
nvm install v18 --reinstall-packages-from=v16
Describe other workarounds you've considered
There is no.