Usually when new version of Node.js comes out and you update it by just installing new and removing old one, all of your global NPM packages are gone. Here is how to update to new version of Node and reinstall packages:
For Windows, use nvm setup from "https://github.com/coreybutler/nvm-windows/releases".
Go to URL "https://github.com/creationix/nvm" and follow install/update instructions.
$ nvm install NEW_VERSION --reinstall-packages-from=OLD_VERSION
$ nvm install <version e.g. 16.14.2>
$ nvm use <version e.g. 16.14.2>
$ nvm install 8.9.4 --reinstall-packages-from=6.10.0
$ nvm uninstall 6.10.0
In case error "If --reinstall-packages-from is provided, it must point to an installed version of node." occurs
$ nvm install 8.9.4
Credits: https://gist.github.com/frenchbread/d70cb4529073f5196faf7bd2e0464fb5