svanderburg / node2nix

Generate Nix expressions to build NPM packages
MIT License
527 stars 100 forks source link

Any planned support for package-lock version 3? #312

Open solomon-b opened 1 year ago

solomon-b commented 1 year ago

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?

ryanrasti commented 1 year ago

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

bbigras commented 1 year ago

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

bromanko commented 1 year ago

What's the best workaround for this?

thomasjm commented 1 year ago

What's the best workaround for this?

npm install --lockfile-version 2