Skip to content

nix build "nixpkgs#nodePackages.npm" fails with exit code 2 #474

@pangdaxing23

Description

@pangdaxing23

on M3 MacOS Tahoe

$ nix build "nixpkgs#nodePackages.npm"
error: Cannot build '/nix/store/ni41fqfikfic6hrd1srp1ncjcf2zjq6y-nodejs-22.19.0.drv'.
       Reason: builder failed with exit code 2.
       Output paths:
         /nix/store/3fxs4pzkamgpsr0ic8rjhpkd11nfb0iq-nodejs-22.19.0-libv8
         /nix/store/3zgl0wrxnbnlayfxji1jxpbf1qpdqf3q-nodejs-22.19.0-dev
         /nix/store/g8sm3lpx6p1xds3jx2baz7ryfvs7abrv-nodejs-22.19.0
       Last 25 log lines:
       >     Mismatched <anonymous> function calls. Expected exactly 10, actual 0.
       >         at Proxy.mustCall (/nix/var/nix/builds/nix-build-nodejs-22.19.0.drv-96731-2668719138/node-v22.19.0/test/common/index.js:395:10)
       >         at worker (/nix/var/nix/builds/nix-build-nodejs-22.19.0.drv-96731-2668719138/node-v22.19.0/test/parallel/test-cluster-dgram-1.js:100:31)
       >         at Object.<anonymous> (/nix/var/nix/builds/nix-build-nodejs-22.19.0.drv-96731-2668719138/node-v22.19.0/test/parallel/test-cluster-dgram-1.js:37:3)
       >         at Module._compile (node:internal/modules/cjs/loader:1706:14)
       >         at Object..js (node:internal/modules/cjs/loader:1839:10)
       >         at Module.load (node:internal/modules/cjs/loader:1441:32)
       >         at Function._load (node:internal/modules/cjs/loader:1263:12)
       >         at TracingChannel.traceSync (node:diagnostics_channel:322:14)
       >         at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
       >         at Proxy.mustCall (/nix/var/nix/builds/nix-build-nodejs-22.19.0.drv-96731-2668719138/node-v22.19.0/test/common/index.js:395:10)
       >         at worker (/nix/var/nix/builds/nix-build-nodejs-22.19.0.drv-96731-2668719138/node-v22.19.0/test/parallel/test-cluster-dgram-1.js:100:31)
       >         at Object.<anonymous> (/nix/var/nix/builds/nix-build-nodejs-22.19.0.drv-96731-2668719138/node-v22.19.0/test/parallel/test-cluster-dgram-1.js:37:3)
       >         at Module._compile (node:internal/modules/cjs/loader:1706:14)
       >         at Object..js (node:internal/modules/cjs/loader:1839:10)
       >         at Module.load (node:internal/modules/cjs/loader:1441:32)
       >         at Function._load (node:internal/modules/cjs/loader:1263:12)
       >         at TracingChannel.traceSync (node:diagnostics_channel:322:14)
       >         at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
       >   ...
       >
       > Failed tests:
       > out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /nix/var/nix/builds/nix-build-nodejs-22.19.0.drv-96731-2668719138/node-v22.19.0/test/parallel/test-fs-cp.mjs
       > out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /nix/var/nix/builds/nix-build-nodejs-22.19.0.drv-96731-2668719138/node-v22.19.0/test/parallel/test-cluster-dgram-1.js
       > make: *** [Makefile:589: test-ci-js] Error 1
       For full logs, run:
         nix log /nix/store/ni41fqfikfic6hrd1srp1ncjcf2zjq6y-nodejs-22.19.0.drv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions