!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

193 Members
57 Servers

Load older messages


SenderMessageTime
1 Apr 2025
@tumble1999:matrix.orgTumble

bmod> [11ty] Writing /nix/store/a1bwpqqchlv5slmw8fn6bp0fxcqv42ds-bmod-static/posts/updates/mm/mm-update-65/index.html from ./_posts/2023-08-31-mm-update-65.md (liquid)
bmod> [11ty] Writing /nix/store/a1bwpqqchlv5slmw8fn6bp0fxcqv42ds-bmod-static/blog/index.html from ./_lists/blog.md (liquid)
bmod> [11ty] Writing /nix/store/a1bwpqqchlv5slmw8fn6bp0fxcqv42ds-bmod-static/root/index.html from ./_lists/root.md (liquid)
bmod> [11ty] Writing /nix/store/sjl5mghgzs9hrhzkkjr4vwnmr02zd0dx-bmod-static/bmod/index.html from ./_lists/bmod.md (liquid)
bmod> [11ty] Writing /nix/store/a1bwpqqchlv5slmw8fn6bp0fxcqv42ds-bmod-static/bmod/index.html from ./_lists/bmod.md (liquid)
bmod> [11ty] Writing /nix/store/sjl5mghgzs9hrhzkkjr4vwnmr02zd0dx-bmod-static/mm/index.html from ./_lists/mm.md (liquid)
bmod> [11ty] Writing /nix/store/a1bwpqqchlv5slmw8fn6bp0fxcqv42ds-bmod-static/mm/index.html from ./_lists/mm.md (liquid)
bmod> [11ty] Writing /nix/store/a1bwpqqchlv5slmw8fn6bp0fxcqv42ds-bmod-static/documents/index.html from ./_lists/documents.md (liquid)
bmod> /nix/store/blp465c3ps5841lx2l1ip5qvpw74wb9r-npm-build-hook/nix-support/setup-hook: line 3: 276 Killed npm run ${npmWorkspace+--workspace=$npmWorkspace} "$npmBuildScript" $npmBuildFlags "${npmBuildFlagsArray[@]}" $npmFlags "${npmFlagsArray[@]}"
bmod> ERROR: npm build failed
bmod> Here are a few things you can try, depending on the error:
bmod> 1. Make sure your build script (static:build) exists
bmod> If there is none, set dontNpmBuild = true.
bmod> 2. If the error being thrown is something similar to "error:0308010C:digital envelope routines::unsupported", add NODE_OPTIONS = "--openssl-legacy-provider" to your derivation
bmod> See https://github.com/webpack/webpack/issues/14532 for more information.
error: builder for '/nix/store/3q5gmxkpwxpxbm9fr47ixyl6b4r0bgng-bmod.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/0qdymn0fajkb0ri1nsrgl4d3ncjhlqzl-Caddyfile.drv' failed to build
error: 1 dependencies of derivation '/nix/store/48b8rwdm9kigwa5bnjhab339zshrd6dl-unit-bmod-prod-webhook.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/65gqn3vqdyirxqag3mpfvyx78p5vphp3-Caddyfile-formatted.drv' failed to build
error: 1 dependencies of derivation '/nix/store/nxj1v1lq33k0nhbxp6vq3d08zlxy0hq3-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/8cnb2wb3m3im4g936m8d48vg2qshmyhd-nixos-system-blutsauger-25.05.20250330.52faf48.drv' failed to build

why do i get this error when it doesnt seem like anything failed?

17:30:47
@tumble1999:matrix.orgTumble *
bmod> [11ty] Writing /nix/store/a1bwpqqchlv5slmw8fn6bp0fxcqv42ds-bmod-static/posts/updates/mm/mm-update-65/index.html from ./_posts/2023-08-31-mm-update-65.md (liquid)
bmod> [11ty] Writing /nix/store/a1bwpqqchlv5slmw8fn6bp0fxcqv42ds-bmod-static/blog/index.html from ./_lists/blog.md (liquid)
bmod> [11ty] Writing /nix/store/a1bwpqqchlv5slmw8fn6bp0fxcqv42ds-bmod-static/root/index.html from ./_lists/root.md (liquid)
bmod> [11ty] Writing /nix/store/sjl5mghgzs9hrhzkkjr4vwnmr02zd0dx-bmod-static/bmod/index.html from ./_lists/bmod.md (liquid)
bmod> [11ty] Writing /nix/store/a1bwpqqchlv5slmw8fn6bp0fxcqv42ds-bmod-static/bmod/index.html from ./_lists/bmod.md (liquid)
bmod> [11ty] Writing /nix/store/sjl5mghgzs9hrhzkkjr4vwnmr02zd0dx-bmod-static/mm/index.html from ./_lists/mm.md (liquid)
bmod> [11ty] Writing /nix/store/a1bwpqqchlv5slmw8fn6bp0fxcqv42ds-bmod-static/mm/index.html from ./_lists/mm.md (liquid)
bmod> [11ty] Writing /nix/store/a1bwpqqchlv5slmw8fn6bp0fxcqv42ds-bmod-static/documents/index.html from ./_lists/documents.md (liquid)
bmod> /nix/store/blp465c3ps5841lx2l1ip5qvpw74wb9r-npm-build-hook/nix-support/setup-hook: line 3:   276 Killed                  npm run ${npmWorkspace+--workspace=$npmWorkspace} "$npmBuildScript" $npmBuildFlags "${npmBuildFlagsArray[@]}" $npmFlags "${npmFlagsArray[@]}"
bmod> ERROR: `npm build` failed
bmod> Here are a few things you can try, depending on the error:
bmod> 1. Make sure your build script (static:build) exists
bmod>   If there is none, set `dontNpmBuild = true`.
bmod> 2. If the error being thrown is something similar to "error:0308010C:digital envelope routines::unsupported", add `NODE_OPTIONS = "--openssl-legacy-provider"` to your derivation
bmod>   See https://github.com/webpack/webpack/issues/14532 for more information.
error: builder for '/nix/store/3q5gmxkpwxpxbm9fr47ixyl6b4r0bgng-bmod.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/0qdymn0fajkb0ri1nsrgl4d3ncjhlqzl-Caddyfile.drv' failed to build
error: 1 dependencies of derivation '/nix/store/48b8rwdm9kigwa5bnjhab339zshrd6dl-unit-bmod-prod-webhook.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/65gqn3vqdyirxqag3mpfvyx78p5vphp3-Caddyfile-formatted.drv' failed to build
error: 1 dependencies of derivation '/nix/store/nxj1v1lq33k0nhbxp6vq3d08zlxy0hq3-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/8cnb2wb3m3im4g936m8d48vg2qshmyhd-nixos-system-blutsauger-25.05.20250330.52faf48.drv' failed to build

why do i get this error when it doesnt seem like anything failed?

17:31:00
@tumble1999:matrix.orgTumble

it only happens in a nixos-rebuild switch and its random

but trying to iscolate things like testhing with nixos-rebuild build
or sepcifically doing nix-build on the node project specifically, things work fine

17:38:57
3 Apr 2025
@sandro:supersandro.deSandro 🐧mentions dmesg something? maybe oom?11:26:45
5 Apr 2025
@tinybronca:sibnsk.net@tinybronca:sibnsk.net removed their display name underpantsgnome.15:54:34
@tinybronca:sibnsk.net@tinybronca:sibnsk.net left the room.15:59:24
7 Apr 2025
@tumble1999:matrix.orgTumblehttps://gitlab.com/balancemod/main-site-nixos/-/jobs/9642696398#L945 Here it is again11:09:51
@tumble1999:matrix.orgTumble`/nix/store/blp465c3ps5841lx2l1ip5qvpw74wb9r-npm-build-hook/nix-support/setup-hook: line 3: 276 Killed npm run ${npmWorkspace+--workspace=$npmWorkspace} "$npmBuildScript" $npmBuildFlags "${npmBuildFlagsArray[@]}" $npmFlags "${npmFlagsArray[@]}"` Why 276 killed Is it like a timeout thing?11:11:35
11 Apr 2025
@ambroisie:belanyi.fr@ambroisie:belanyi.fr left the room.22:09:11
12 Apr 2025
@aidalgol:matrix.orgaidalgol

The package heroic (actually heroic-unwrapped) has a sporadic build failure, at least on my local system, that looks like this. I'm not sure it's the same file, but the message is always resource temporarily unavailable, copyfile.

ERR_PNPM_EAGAIN  EAGAIN: resource temporarily unavailable, copyfile '/build/tmp.ltqPqcK0pE/v3/files/f8/561afcf3e85e0a23f3b4948708b49e581be80361b6fb5c045523d6007ffa2fb3ea6a41a2e5a7f397d8863ca15b121df311054ba1c7aff544a078b1b325fe7f' -> '/build/source/node_modules/sanitize-html_tmp_69/LICENSE'

I have no clue what's going on here. This just happens sometimes when I'm working on changes to the derivation, and it always succeeds the next time.

20:22:01
13 Apr 2025
@c0ba1t:matrix.orgCobalt
In reply to @aidalgol:matrix.org

The package heroic (actually heroic-unwrapped) has a sporadic build failure, at least on my local system, that looks like this. I'm not sure it's the same file, but the message is always resource temporarily unavailable, copyfile.

ERR_PNPM_EAGAIN  EAGAIN: resource temporarily unavailable, copyfile '/build/tmp.ltqPqcK0pE/v3/files/f8/561afcf3e85e0a23f3b4948708b49e581be80361b6fb5c045523d6007ffa2fb3ea6a41a2e5a7f397d8863ca15b121df311054ba1c7aff544a078b1b325fe7f' -> '/build/source/node_modules/sanitize-html_tmp_69/LICENSE'

I have no clue what's going on here. This just happens sometimes when I'm working on changes to the derivation, and it always succeeds the next time.

Sporadic error sounds like the lockfile handling in pnpm might be unstable. Maybe check if you can find a reproducable example and compare the lockfile against a working one.
07:23:52
@c0ba1t:matrix.orgCobaltThe error looks weird though. 07:24:29
15 Apr 2025
@ayatsfer:matrix.org@ayatsfer:matrix.org joined the room.06:37:16
@ayatsfer:matrix.org@ayatsfer:matrix.orgHi, just wanted to ask if there's any way to build a local pnpm project without having to pass the hash of the pnpm.fetchDeps06:38:27
@ayatsfer:matrix.org@ayatsfer:matrix.org this is possible with npm by using importNpmLock { npmRoot = ./.; }; 06:38:44
@ayatsfer:matrix.org@ayatsfer:matrix.orgmaybe it can be done with some IFD...06:38:57
@transcaffeine:finallycoffee.eutranscaffeine meow, how do i deal with sqlite3 in fetchYarnDeps not adding the lib/bindings/node-*-$os-$arch/node_sqlite3.node to the offline yarn cache? 18:38:08
16 Apr 2025
@winter:catgirl.cloudWinterbuild it yourself: https://github.com/NixOS/nixpkgs/blob/2631b0b7abcea6e640ce31cd78ea58910d31e650/pkgs/by-name/th/thelounge/package.nix#L8006:26:26
@winter:catgirl.cloudWinterthough it definitely should be added06:26:32
@lxsameer:matrix.orglxsameer joined the room.12:32:58
@lxsameer:matrix.orglxsameerhey folks, is there any doc or tool for integrating a pnpm project with nix?12:36:01
@sandro:supersandro.deSandro 🐧please see https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/javascript.section.md#pnpm-javascript-pnpm14:22:52
24 Apr 2025
@cathal_mullan:matrix.orgCathal joined the room.14:46:51
@root:xvx.shroot joined the room.19:29:10
25 Apr 2025
@nrs-status:matrix.orgthirdofmay18081814goya joined the room.16:10:41
26 Apr 2025
@aktaboot:tchncs.deaktabootRedacted or Malformed Event12:56:06
27 Apr 2025
@adam_neverwas:matrix.org@adam_neverwas:matrix.org joined the room.15:56:01
@arexon:matrix.org@arexon:matrix.org changed their profile picture.16:12:40
@arexon:matrix.org@arexon:matrix.org changed their profile picture.16:12:53
29 Apr 2025
@c3n21:matrix.orgc3n21 joined the room.10:08:02

Show newer messages


Back to Room ListRoom Version: 6