Running phase: unpackPhase unpacking source archive /nix/store/29hngw9x4x7dyxxf9x2v46vpw2nd505w-source source root is source/frontend Running phase: patchPhase Executing npmConfigHook Configuring npm Validating consistency between /build/source/frontend/package-lock.json and /nix/store/3m0gzba8l4nvwr3j7j9g44hc49dcpw3x-garage-ui-frontend-0.11.1-npm-deps/package-lock.json Setting npm_config_cache to /nix/store/3m0gzba8l4nvwr3j7j9g44hc49dcpw3x-garage-ui-frontend-0.11.1-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 error code ENOTCACHED npm error request to https://registry.npmjs.org/zustand failed: cache mode is 'only-if-cached' but no cached response is available. npm error Log files were not written due to an error writing to the directory: /nix/store/3m0gzba8l4nvwr3j7j9g44hc49dcpw3x-garage-ui-frontend-0.11.1-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" ]`