Running phase: unpackPhase unpacking source archive /nix/store/jl2i33f0p2ax5wq9rcxhy9xzwbndassd-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Executing npmConfigHook Configuring npm 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 "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 "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. Installing patched package.json/package-lock.json Installing dependencies 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 ERESOLVE overriding peer dependency npm warn While resolving: wrangler@4.146.0 npm warn Found: @cloudflare/workers-types@5.20260928.1 npm warn node_modules/@cloudflare/workers-types npm warn dev @cloudflare/workers-types@"file:/nix/store/nfap3g4hf6gcigcimywv15bp2fh53s16-workers-types-5.20260928.1.tgz" from the root project npm warn npm warn Could not resolve dependency: npm warn peerOptional @cloudflare/workers-types@"^5.20261001.1" from wrangler@4.146.0 npm warn node_modules/wrangler npm warn dev wrangler@"file:/nix/store/h7sa6wzk7gbkyzbjj5bxsff3pc3ip5kk-wrangler-4.146.0.tgz" from the root project npm warn ERESOLVE overriding peer dependency npm warn While resolving: wrangler@4.146.0 npm warn Found: @cloudflare/workers-types@undefined npm warn node_modules/@cloudflare/workers-types npm warn dev @cloudflare/workers-types@"file:/nix/store/nfap3g4hf6gcigcimywv15bp2fh53s16-workers-types-5.20260928.1.tgz" from the root project npm warn npm warn Could not resolve dependency: npm warn peerOptional @cloudflare/workers-types@"^5.20261001.1" from wrangler@4.146.0 npm warn node_modules/wrangler npm warn dev wrangler@"file:/nix/store/h7sa6wzk7gbkyzbjj5bxsff3pc3ip5kk-wrangler-4.146.0.tgz" from the root project npm error code ENOTCACHED npm error request to https://registry.npmjs.org/@cloudflare%2fworkers-types failed: cache mode is 'only-if-cached' but no cached response is available. npm error A complete log of this run can be found in: /build/.npm/_logs/2026-10-01T18_17_20_953Z-debug-0.log ERROR: npm failed to install dependencies Here are a few things you can try, depending on the error: 1. Set `npmFlags = [ "--legacy-peer-deps" ]`