Skip to content
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

Support nodejs-18 #319

Open
ptitfred opened this issue Sep 10, 2023 · 2 comments
Open

Support nodejs-18 #319

ptitfred opened this issue Sep 10, 2023 · 2 comments

Comments

@ptitfred
Copy link

package-lock.json format has been upgraded to version 3, with most noticeable change: dependencies attributes doesn't exist anymore and node2nix should rely on packages instead. packages is present since at least version 2.

nodejs-18 is the default (and only supported version) on nixpkgs' branch nixos-23.05.

I'm willing to help if nobody is on it already.

@ptitfred
Copy link
Author

@dsalaza4
Copy link

Hi! We've been using nodejs-18 and package-lock.json on "lockfileVersion": 2 and it seems to work fine. I also see that the node2nix command supports the --nodejs-18 flag.

Does this mean that node2nix only lacks support for "lockfileVersion": 3?

What about using nodejs-20, would that be possible?

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

2 participants