1. Install the npm-check-updates
package globally:
npm install -g npm-check-updates
2. Now run npm-check-updates
to upgrade all version hints in package.json
, allowing installation of the new major versions:
ncu -u
3. Finally, run a standard install:
npm install