Is there a way to config npm not to install package using a lazy version like:
This is the command that will set a user variable in your npm configuration to always default to use the exact version when performing an npm installation of all packages.
Enter this command in your terminal:
npm config set save-exact=true
The new preference is stored in a user-based custom npm configuration file. It is located here:
Finally, you can verify the setting was saved with the command:
npm config ls
Official NPM docs here: