Node 16 package-lock.json

npm WARN old lockfile 
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile 
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile 

I just installed node v16 and it keeps saying this error.
Didn’t even install the packages that were added in the package.json file.
What sould I do?

I got that too. It’s not really an error, more of a necessary change when upgrading. Note where it says “This is one-time fix-up.” And if you are/were using a starter, some packages came pre-installed, so a package-lock.json was generated for you.