1

Today I found when I using npm update command, it upgrade the package lock file version to 2 siliently automatically, is it possible to keep the specify lock file version? or keep the old lock file version? I only want to use the lock file version 1:

enter image description here

or is there any way to lock the lock file version?

Dolphin
  • 29,069
  • 61
  • 260
  • 539
  • I think you can find the answer on this thread : https://stackoverflow.com/questions/64813775/is-there-any-way-to-fix-package-lock-json-lockfileversion-so-npm-uses-a-specific – Muhammad Zunan Alfikri Sep 23 '22 at 05:54

0 Answers0