how to upgrade a npm package to run on latest node version code example Example: upgrade npm version npm install -g npm@latest