Running phase: unpackPhase unpacking source archive /nix/store/z7jzi2k5vk4622vxh1q98pb1723d5qvk-source source root is source Running phase: patchPhase Executing npmConfigHook Configuring npm Validating consistency between /build/source/package-lock.json and /nix/store/6i028ch6kqmgfy4azp28zxn23gz2pxk7-claude-code-router-3.0.20-npm-deps/package-lock.json Making cache writable Setting npm_config_cache to /build/cache Installing dependencies npm warn Unknown env config "build-from-source". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm warn deprecated viewport-mercator-project@7.0.4: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. npm warn deprecated lodash.isequal@4.5.0: This package is deprecated. Use require('node:util').isDeepStrictEqual instead. npm warn deprecated prebuild-install@7.1.3: No longer maintained. Please contact the author of the relevant native addon; alternatives are available. npm warn deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1 npm warn deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. added 423 packages, and audited 428 packages in 56s 50 packages are looking for funding run `npm fund` for details found 0 vulnerabilities patching script interpreter paths in node_modules node_modules/safe-regex2/bin/safe-regex2.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/@mapbox/geojson-rewind/geojson-rewind: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/thread-stream/test/ts/transpile.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/3kaakrwd1jia637aa3cpj3lkgfxwg3k3-bash-5.3p15/bin/sh" node_modules/pm2/bin/pm2-docker: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/pm2/bin/pm2-runtime: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/pm2/bin/pm2-dev: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/pm2/bin/pm2: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/pm2/lib/tools/xdg-open: interpreter directive changed from "#!/bin/sh" to "/nix/store/3kaakrwd1jia637aa3cpj3lkgfxwg3k3-bash-5.3p15/bin/sh" node_modules/pm2/node_modules/js-yaml/bin/js-yaml.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/pm2/node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/pm2/node_modules/mkdirp/bin/cmd.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/pm2/pm2: interpreter directive changed from "#!/bin/bash" to "/nix/store/3kaakrwd1jia637aa3cpj3lkgfxwg3k3-bash-5.3p15/bin/bash" node_modules/systeminformation/lib/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/pino/test/fixtures/ts/transpile.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/pino/inc-version.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/3kaakrwd1jia637aa3cpj3lkgfxwg3k3-bash-5.3p15/bin/bash" node_modules/pino/bin.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/better-sqlite3/deps/download.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/3kaakrwd1jia637aa3cpj3lkgfxwg3k3-bash-5.3p15/bin/bash" node_modules/electron-updater/node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/resolve/bin/resolve: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/pbf/bin/pbf: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/rc/cli.js: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/prebuild-install/bin.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/rw/test/write-sync: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/rw/test/wc-async: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/rw/test/encode-object-sync: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/rw/test/run-tests: interpreter directive changed from "#!/bin/bash" to "/nix/store/3kaakrwd1jia637aa3cpj3lkgfxwg3k3-bash-5.3p15/bin/bash" node_modules/rw/test/encode-string-async: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/rw/test/cat-async: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/rw/test/encoding-async: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/rw/test/encoding-sync: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/rw/test/write-async: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/rw/test/encode-object-async: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/rw/test/encode-string-sync: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/rw/test/cat-sync: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/rw/test/wc-sync: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/js-yaml/bin/js-yaml.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/loose-envify/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/baseui/icon/build-icons.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/needle/bin/needle: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/escodegen/bin/esgenerate.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/escodegen/bin/escodegen.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/pm2-deploy/deploy: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/3kaakrwd1jia637aa3cpj3lkgfxwg3k3-bash-5.3p15/bin/bash" node_modules/polished/.husky/pre-commit: interpreter directive changed from "#!/bin/sh" to "/nix/store/3kaakrwd1jia637aa3cpj3lkgfxwg3k3-bash-5.3p15/bin/sh" node_modules/polished/.husky/post-commit: interpreter directive changed from "#!/bin/sh" to "/nix/store/3kaakrwd1jia637aa3cpj3lkgfxwg3k3-bash-5.3p15/bin/sh" node_modules/pino-abstract-transport/.husky/pre-commit: interpreter directive changed from "#!/usr/bin/env sh" to "/nix/store/3kaakrwd1jia637aa3cpj3lkgfxwg3k3-bash-5.3p15/bin/sh" node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/esprima/bin/esparse.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/esprima/bin/esvalidate.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/@pm2/blessed/bin/tput.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/@pm2/blessed/example/blessed-telnet.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/@pm2/blessed/example/time.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/@pm2/blessed/example/multiplex.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/@pm2/blessed/example/ping: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/@pm2/io/node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/@pm2/agent/node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/d3-dsv/bin/dsv2dsv.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/d3-dsv/bin/dsv2json.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/d3-dsv/bin/json2dsv.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/mapbox-gl/build/run-node: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/3kaakrwd1jia637aa3cpj3lkgfxwg3k3-bash-5.3p15/bin/bash" node_modules/mapbox-gl/build/run-tap: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/3kaakrwd1jia637aa3cpj3lkgfxwg3k3-bash-5.3p15/bin/bash" node_modules/mapbox-gl/build/check-bundle-size.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/mapbox-gl/src/style-spec/bin/gl-style-validate: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/mapbox-gl/src/style-spec/bin/gl-style-format: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/mapbox-gl/src/style-spec/bin/gl-style-composite: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/mapbox-gl/src/style-spec/bin/gl-style-migrate: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/@the-next-ai/bot-gateway-sdk/bin/bot-gateway-stdio.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" node_modules/@the-next-ai/ai-gateway/bin/next-ai-gateway.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" npm warn Unknown env config "build-from-source". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm warn rebuild 2 packages have install scripts not yet covered by allowScripts. Run `npm approve-scripts --allow-scripts-pending` to review. rebuilt dependencies successfully patching script interpreter paths in node_modules Finished npmConfigHook patchPhase completed in 5 minutes 1 seconds Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase no Makefile or custom buildPhase, doing nothing Running phase: installPhase Executing npmInstallHook npm warn Unknown env config "build-from-source". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm warn Unknown env config "build-from-source". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. changed 1 package, and audited 428 packages in 6s 50 packages are looking for funding run `npm fund` for details found 0 vulnerabilities npm warn allow-scripts 2 packages have install scripts not yet covered by allowScripts: npm warn allow-scripts better-sqlite3@12.11.1 (install: node-gyp rebuild) npm warn allow-scripts core-js@2.6.12 (postinstall: node -e "try{require('./postinstall')}catch(e){}") npm warn allow-scripts npm warn allow-scripts Run `npm approve-scripts --allow-scripts-pending` to review, or `npm approve-scripts ` to allow. Finished npmInstallHook Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/zgd9h1w5480xw0aslvrzhv185aq7wlia-claude-code-router-3.0.20 shrinking /nix/store/zgd9h1w5480xw0aslvrzhv185aq7wlia-claude-code-router-3.0.20/lib/node_modules/claude-code-router-monorepo/node_modules/better-sqlite3/build/Release/better_sqlite3.node shrinking /nix/store/zgd9h1w5480xw0aslvrzhv185aq7wlia-claude-code-router-3.0.20/lib/node_modules/claude-code-router-monorepo/node_modules/better-sqlite3/build/Release/test_extension.node checking for references to /build/ in /nix/store/zgd9h1w5480xw0aslvrzhv185aq7wlia-claude-code-router-3.0.20... patching script interpreter paths in /nix/store/zgd9h1w5480xw0aslvrzhv185aq7wlia-claude-code-router-3.0.20 /nix/store/zgd9h1w5480xw0aslvrzhv185aq7wlia-claude-code-router-3.0.20/lib/node_modules/claude-code-router-monorepo/dist/main/toolhub-mcp.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" /nix/store/zgd9h1w5480xw0aslvrzhv185aq7wlia-claude-code-router-3.0.20/lib/node_modules/claude-code-router-monorepo/dist/main/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/d76wsd4rm85sdv1xawqp404l2bm2k4l1-nodejs-24.19.0/bin/node" fixupPhase completed in 4 minutes 5 seconds Running phase: installCheckPhase