attached to the build already running on this worker shipyard-worker-4/nix-grpc-farm-worker-x86-64-65c6cc46-nzk6r: building rh112nmaip1czzhjjm829saj7gjghjkm-codegraph-1.6.3.drv Using versionCheckHook Running phase: unpackPhase unpacking source archive /nix/store/912xqmjxh204sc21j83mf9y6wrn9za8b-source source root is source Running phase: patchPhase Executing npmConfigHook Configuring npm Validating consistency between /build/source/package-lock.json and /nix/store/iyfjj21bq5nwmn2yhsgxsc6bdhfgw79y-codegraph-1.6.3-npm-deps/package-lock.json Making cache writable Setting npm_config_cache to /build/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 warn deprecated whatwg-encoding@3.1.1: Use @exodus/bytes instead for a more spec-conformant and faster implementation added 173 packages, and audited 175 packages in 2s 32 packages are looking for funding run `npm fund` for details found 0 vulnerabilities patching script interpreter paths in node_modules node_modules/svelte-check/bin/svelte-check: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node" node_modules/typescript/bin/tsserver: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node" node_modules/typescript/bin/tsc: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node" node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node" node_modules/vitest/vitest.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node" node_modules/tldts/bin/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node" node_modules/nanoid/bin/nanoid.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node" node_modules/esbuild/bin/esbuild: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node" node_modules/rollup/dist/bin/rollup: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node" node_modules/@sveltejs/package/svelte-package.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node" node_modules/why-is-node-running/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node" node_modules/vite/bin/vite.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node" node_modules/acorn/bin/acorn: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node" 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 rebuild 1 package has install scripts not yet covered by allowScripts. Run `npm install-scripts ls` to review. rebuilt dependencies successfully patching script interpreter paths in node_modules Finished npmConfigHook Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing npmBuildHook 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. > @colbymchenry/codegraph@1.6.3 build > tsc && tsc --emitDeclarationOnly --noCheck --removeComments false && npm run copy-assets && npm run build:ui && node -e "require('fs').chmodSync('dist/bin/codegraph.js', 0o755)" 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. > @colbymchenry/codegraph@1.6.3 copy-assets > node -e "const fs=require('fs');fs.mkdirSync('dist/db',{recursive:true});fs.copyFileSync('src/db/schema.sql','dist/db/schema.sql');fs.mkdirSync('dist/extraction/wasm',{recursive:true});fs.readdirSync('src/extraction/wasm').filter(f=>f.endsWith('.wasm')).forEach(f=>fs.copyFileSync('src/extraction/wasm/'+f,'dist/extraction/wasm/'+f))" 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. > @colbymchenry/codegraph@1.6.3 build:ui > cd ui && npm run build && cd .. && node scripts/check-ui-build.mjs 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. > @colbymchenry/codegraph-ui@1.6.3 build > node node_modules/vite/bin/vite.js build node:internal/modules/cjs/loader:1568 throw err; ^ Error: Cannot find module '/build/source/ui/node_modules/vite/bin/vite.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1564:15) at wrapResolveFilename (node:internal/modules/cjs/loader:1118:27) at defaultResolveImplForCJSLoading (node:internal/modules/cjs/loader:1142:10) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1169:12) at Module._load (node:internal/modules/cjs/loader:1341:5) at wrapModuleLoad (node:internal/modules/cjs/loader:261:19) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5) at node:internal/main/run_main_module:33:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v24.21.0 npm error Lifecycle script `build` failed with error: npm error code 1 npm error path /build/source/ui npm error workspace @colbymchenry/codegraph-ui@1.6.3 npm error location /build/source/ui npm error command failed npm error command sh -c node node_modules/vite/bin/vite.js build ERROR: `npm run build [...]` failed Here are a few things you can try, depending on the error: 1. Make sure your build script (build) exists If there is none, set `dontNpmBuild = true`. 2. If the error being thrown is something similar to "error:0308010C:digital envelope routines::unsupported", add `NODE_OPTIONS = "--openssl-legacy-provider"` to your derivation See https://github.com/webpack/webpack/issues/14532 for more information.