Npm install reported an error

read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but npm-shrinkwrap.json was generated for lockfileVersion@0. I"ll try to do my best with it! What kind of mistake is this?

Mar.28,2021

this version of npm is compatible with lockfileVersion@1, but
npm-shrinkwrap.json was generated for lockfileVersion@
this version of npm is compatible with lockfileVersion@1, but your npm-shrinkwrap.json is run by lockfileVersion@0. I generate

update lockfileVersion


your npm version matches lockfileVersion@1 , but you are now lockfileVersion@0 , so there is a version mismatch error. You can install lockfileVersion@1 version


Hello, I also encountered this problem, how to solve, thank you!

Menu