7

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)

Vishnu Sankaran
  • 669
  • 6
  • 20

1 Answers1

2

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

eazy_g
  • 377
  • 3
  • 10