Suppose, I do npm install
and then I change the node version and then again do npm install
, will the installed packages in package-lock.json
and node_modules
change? (Assuming the packages were not updated on the npm registry meanwhile)
Was curious about this myself, so I switched node versions, deleted yarn.lock
and node_modules
in my project, and then re-installed. Zero updates were made to the yarn.lock
file
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With