Running phase: unpackPhase unpacking source archive /nix/store/82d90g0avyj5jq9kvj11p71rrx474phy-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.123.0 npm warn Found: @cloudflare/workers-types@4.20260702.1 npm warn node_modules/@cloudflare/workers-types npm warn dev @cloudflare/workers-types@"file:/nix/store/h88bcmhd0fwkax3a189i141d7cxp9yvm-workers-types-4.20260702.1.tgz" from the root project npm warn npm warn Could not resolve dependency: npm warn peerOptional @cloudflare/workers-types@"^5.20260811.1" from wrangler@4.123.0 npm warn node_modules/wrangler npm warn dev wrangler@"file:/nix/store/ljcll2xm5c2a3fcywrffhh299ax16k6l-wrangler-4.123.0.tgz" from the root project npm warn ERESOLVE overriding peer dependency npm warn While resolving: wrangler@4.123.0 npm warn Found: @cloudflare/workers-types@undefined npm warn node_modules/@cloudflare/workers-types npm warn dev @cloudflare/workers-types@"file:/nix/store/h88bcmhd0fwkax3a189i141d7cxp9yvm-workers-types-4.20260702.1.tgz" from the root project npm warn npm warn Could not resolve dependency: npm warn peerOptional @cloudflare/workers-types@"^5.20260811.1" from wrangler@4.123.0 npm warn node_modules/wrangler npm warn dev wrangler@"file:/nix/store/ljcll2xm5c2a3fcywrffhh299ax16k6l-wrangler-4.123.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-08-16T06_51_13_165Z-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" ]`