Running phase: unpackPhase unpacking source archive /nix/store/zamlrw03ij41hn1s8j23pabc0q1ffb3n-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.131.0 npm warn Found: @cloudflare/workers-types@5.20260907.1 npm warn node_modules/@cloudflare/workers-types npm warn dev @cloudflare/workers-types@"file:/nix/store/sw7a7qd6x2vy02khgblz0aq87ap21hmd-workers-types-5.20260907.1.tgz" from the root project npm warn npm warn Could not resolve dependency: npm warn peerOptional @cloudflare/workers-types@"^5.20260910.1" from wrangler@4.131.0 npm warn node_modules/wrangler npm warn dev wrangler@"file:/nix/store/cz8pyr7r8nxc775ya97x6g7rngi21j63-wrangler-4.131.0.tgz" from the root project npm warn ERESOLVE overriding peer dependency npm warn While resolving: wrangler@4.131.0 npm warn Found: @cloudflare/workers-types@undefined npm warn node_modules/@cloudflare/workers-types npm warn dev @cloudflare/workers-types@"file:/nix/store/sw7a7qd6x2vy02khgblz0aq87ap21hmd-workers-types-5.20260907.1.tgz" from the root project npm warn npm warn Could not resolve dependency: npm warn peerOptional @cloudflare/workers-types@"^5.20260910.1" from wrangler@4.131.0 npm warn node_modules/wrangler npm warn dev wrangler@"file:/nix/store/cz8pyr7r8nxc775ya97x6g7rngi21j63-wrangler-4.131.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-09-10T18_11_17_447Z-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" ]`