!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

204 Members
58 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
5 May 2024
@winter:catgirl.cloudWinter the npm tooling only works with projects that have an npm lock file 16:05:47
@tumble1999:matrix.orgTumblewait, do i have to produce a binary?16:13:31
@winter:catgirl.cloudWinter no 16:15:26
@winter:catgirl.cloudWinter the npm tooling will automatically produce a wrapper in $out/bin if your package.json is configured properly 16:15:45
@tumble1999:matrix.orgTumble nix build puts everything into result/lib/node_modules/(name)
but nix run tries to run /nix/store/.../bin/(name) which doesnt exist
17:01:53
@tumble1999:matrix.orgTumbleok figured it out17:19:30
@tumble1999:matrix.orgTumble i searched github for a repo that has both buildNpmPackage and dontNpmBuild
https://github.com/ALT-F4-LLC/kickstart.nix/tree/f6385349c4dff04e3090559ff553492abd6f7e2d/template/nodejs-backend
17:20:25

Show newer messages


Back to Room ListRoom Version: 6