Running phase: unpackPhase unpacking source archive /nix/store/vphwr3lqih31q191w4lwyrchgj7k424i-source source root is source Running phase: patchPhase Executing npmConfigHook Configuring npm Validating consistency between /nix/var/nix/builds/nix-87399-1741833899/source/package-lock.json and /nix/store/z7gvk2sshaigj8h1xsigi6jr5vdc2qil-hermes-frontend-2026.8.3-npm-deps/package-lock.json Setting npm_config_cache to /nix/store/z7gvk2sshaigj8h1xsigi6jr5vdc2qil-hermes-frontend-2026.8.3-npm-deps 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 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 project config "min-release-age-exclude". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm error code EBADENGINE npm error engine Unsupported engine npm error engine Not compatible with your version of node/npm: hermes-agent@1.0.0 npm error notsup Not compatible with your version of node/npm: hermes-agent@1.0.0 npm error notsup Required: {"node":">=22.22.0","npm":"<11.10.0 || >=11.17.0"} npm error notsup Actual: {"node":"v24.18.1","npm":"11.16.0"} npm error Log files were not written due to an error writing to the directory: /nix/store/z7gvk2sshaigj8h1xsigi6jr5vdc2qil-hermes-frontend-2026.8.3-npm-deps/_logs npm error You can rerun the command with `--loglevel=verbose` to see the logs in your terminal ERROR: npm failed to install dependencies Here are a few things you can try, depending on the error: 1. Set `npmDepsFetcherVersion = 2` (and update `npmDepsHash`) 2. Set `makeCacheWritable = true` Note that this won't help if npm is complaining about not being able to write to the logs directory -- look above that for the actual error. 3. Set `npmFlags = [ "--legacy-peer-deps" ]`