[ ] TODO: This will still break if there's a conflict with other dependencies in package.json
I recently ran into a problem where I needed a package, but the existing set of npm packages would break if I installed the one I needed. This is because they needed a different Node.js version.
dependencies
inpackage.json
I recently ran into a problem where I needed a package, but the existing set of npm packages would break if I installed the one I needed. This is because they needed a different Node.js version.
So here's what I did.
package.json
and then run it: