mac02: building iac3id1ra70i6g43rkzs160yln5hq1gv-paperclip-2026.1106.0.drv Using versionCheckHook Running phase: unpackPhase unpacking source archive /nix/store/n7hw4d0j07fac4azw0dlivm16hgj2bz7-paperclipai-2026.1106.0-src source root is paperclipai-2026.1106.0-src Running phase: patchPhase Executing npmConfigHook Configuring npm Validating consistency between /nix/var/nix/builds/nix-89963-4138741810/paperclipai-2026.1106.0-src/package-lock.json and /nix/store/azfvdxam4ffclhdvsrc0njmlz9ml34vc-paperclip-2026.1106.0-npm-deps/package-lock.json Making cache writable Setting npm_config_cache to /nix/var/nix/builds/nix-89963-4138741810/cache 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 EUSAGE npm error npm error `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing. npm error npm error Missing: @anthropic-ai/claude-agent-sdk@0.3.257 from lock file npm error Missing: @anthropic-ai/claude-agent-sdk-darwin-arm64@0.3.257 from lock file npm error Missing: @anthropic-ai/claude-agent-sdk-darwin-x64@0.3.257 from lock file npm error Missing: @anthropic-ai/claude-agent-sdk-linux-arm64@0.3.257 from lock file npm error Missing: @anthropic-ai/claude-agent-sdk-linux-arm64-musl@0.3.257 from lock file npm error Missing: @anthropic-ai/claude-agent-sdk-linux-x64@0.3.257 from lock file npm error Missing: @anthropic-ai/claude-agent-sdk-linux-x64-musl@0.3.257 from lock file npm error Missing: @anthropic-ai/claude-agent-sdk-win32-arm64@0.3.257 from lock file npm error Missing: @anthropic-ai/claude-agent-sdk-win32-x64@0.3.257 from lock file npm error npm error Clean install a project npm error npm error Usage: npm error npm ci npm error npm error Options: npm error [--install-strategy ] [--legacy-bundling] npm error [--global-style] [--omit [--omit ...]] npm error [--include [--include ...]] npm error [--strict-peer-deps] [--foreground-scripts] [--ignore-scripts] npm error [--allow-directory ] [--allow-file ] npm error [--allow-git ] [--allow-remote ] npm error [--allow-scripts [--allow-scripts ...]] npm error [--strict-allow-scripts] [--dangerously-allow-all-scripts] [--no-audit] npm error [--no-bin-links] [--no-fund] [--dry-run] npm error [-w|--workspace [-w|--workspace ...]] npm error [--workspaces] [--include-workspace-root] [--install-links] npm error npm error --install-strategy npm error Sets the strategy for installing packages in node_modules. npm error npm error --legacy-bundling npm error Instead of hoisting package installs in `node_modules`, install packages npm error npm error --global-style npm error Only install direct dependencies in the top level `node_modules`, npm error npm error --omit npm error Dependency types to omit from the installation tree on disk. npm error npm error --include npm error Option that allows for defining which types of dependencies to install. npm error npm error --strict-peer-deps npm error If set to `true`, and `--legacy-peer-deps` is not set, then _any_ npm error npm error --foreground-scripts npm error Run all build scripts (ie, `preinstall`, `install`, and npm error npm error --ignore-scripts npm error If true, npm does not run scripts specified in package.json files. npm error npm error --allow-directory npm error Limits the ability for npm to install dependencies from directories. npm error npm error --allow-file npm error Limits the ability for npm to install dependencies from tarball files. npm error npm error --allow-git npm error Limits the ability for npm to fetch dependencies from git references. npm error npm error --allow-remote npm error Limits the ability for npm to fetch dependencies from urls. npm error npm error --allow-scripts npm error Comma-separated list of packages whose install-time lifecycle scripts npm error npm error --strict-allow-scripts npm error If `true`, turn the install-script policy from a warning into a hard npm error npm error --dangerously-allow-all-scripts npm error If `true`, bypass the `allowScripts` policy entirely and run every npm error npm error --audit npm error When "true" submit audit reports alongside the current npm command to the npm error npm error --bin-links npm error Tells npm to create symlinks (or `.cmd` shims on Windows) for package npm error npm error --fund npm error When "true" displays the message at the end of each `npm install` npm error npm error --dry-run npm error Indicates that you don't want npm to make any changes and that it should npm error npm error -w|--workspace npm error Enable running a command in the context of the configured workspaces of the npm error npm error --workspaces npm error Set to true to run the command in the context of **all** configured npm error npm error --include-workspace-root npm error Include the workspace root when workspaces are enabled for a command. npm error npm error --install-links npm error When set file: protocol dependencies will be packed and installed as npm error npm error npm error aliases: clean-install, ic, install-clean, isntall-clean npm error npm error Run "npm help ci" for more info npm error A complete log of this run can be found in: /nix/var/nix/builds/nix-89963-4138741810/cache/_logs/2026-11-06T23_29_57_964Z-debug-0.log 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" ]`