When I try to install any npm package, I get the following error. And the installation gets stuck.
I've pasted the error below
Error msg:
This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
Help me to solve this problem. Thanks in Advance.