Skip to content

package-lock.json version is outdated #147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
IlyaSemenov opened this issue Apr 25, 2025 · 0 comments
Open

package-lock.json version is outdated #147

IlyaSemenov opened this issue Apr 25, 2025 · 0 comments

Comments

@IlyaSemenov
Copy link
Contributor

package-lock.json is version 1:

"lockfileVersion": 1,

It's been 5+ years since npm v7 (introducing the new lockfile format) has been released. It's npm v11 now. Installing the project in modern environment leads to this:

% npm i
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

Can we update this in the repo?

Also (and/or alternatively), the tooling, especially outdated tooling, should be specified in package.json under devEngines, and preferably under packageManager for corepack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant