node2nix icon indicating copy to clipboard operation
node2nix copied to clipboard

Any planned support for package-lock version 3?

Open solomon-b opened this issue 2 years ago • 4 comments

From what I understand node2nix is using the v1 lock-file dependencies data which is deprecated in v2 and is removed in v3. Is there any plan for supporting v3 in the near future?

solomon-b avatar Feb 01 '23 07:02 solomon-b

+1 just ran into this issue ourselves using package-lock.json generated by npm 9.3

ryanrasti avatar Feb 16 '23 20:02 ryanrasti

Is node 16 the last version using lockfile v2? It's EoL.

bbigras avatar Jun 05 '23 19:06 bbigras

What's the best workaround for this?

bromanko avatar Jun 30 '23 20:06 bromanko

What's the best workaround for this?

npm install --lockfile-version 2

thomasjm avatar Jun 30 '23 21:06 thomasjm