owntracks-frontend-cecf7e797de7f8bc736a66a94a41b208a0a9a02d> Installing dependencies
owntracks-frontend-cecf7e797de7f8bc736a66a94a41b208a0a9a02d> npm ERR! code ENOTCACHED
owntracks-frontend-cecf7e797de7f8bc736a66a94a41b208a0a9a02d> npm ERR! request to https://registry.npmjs.org/yocto-queue failed: cache mode is 'only-if-cached' but no cached response is available.
When trying to build the package manually using npm it works nicely
Running phase: unpackPhase
unpacking source archive /nix/store/miaw56qy1fx5613xyafwx5xa5qxs8y8j-source
source root is source
Running phase: patchPhase
Executing npmConfigHook
Configuring npm
Validating consistency between /build/source/package-lock.json and /nix/store/3jsgk0qfpyw5n74zl27bbm64h6vskgdq-owntracks-frontend-cecf7e797de7f8bc736a66a94a41b208a0a9a02d-npm-deps/package-lock.json
Installing dependencies
npm ERR! code ENOTCACHED
npm ERR! request to https://registry.npmjs.org/yocto-queue failed: cache mode is 'only-if-cached' but no cached response is available.
npm ERR! Log files were not written due to an error writing to the directory: /nix/store/3jsgk0qfpyw5n74zl27bbm64h6vskgdq-owntracks-frontend-cecf7e797de7f8bc736a66a94a41b208a0a9a02d-npm-deps/_logs
npm ERR! 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 `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.
2. Set `npmFlags = [ "--legacy-peer-deps" ]`