When moving from one version of node to another via nvm, you can copy across any global dependencies by installing like this: nvm install 16 --reinstall-packages-from=current Source