these 2 derivations will be built: /nix/store/akri7nifpa4hd0php6azy66s0grlph7c-codegraph-1.6.1.drv /nix/store/27a1y61aqbygszd1jssj274555x4jbk3-check-codegraph.drv building '/nix/store/akri7nifpa4hd0php6azy66s0grlph7c-codegraph-1.6.1.drv' on 'ssh-ng://customer@mac02.m.ntd.one' building '/nix/store/akri7nifpa4hd0php6azy66s0grlph7c-codegraph-1.6.1.drv' codegraph-1.6.1> Using versionCheckHook codegraph-1.6.1> Running phase: unpackPhase codegraph-1.6.1> unpacking source archive /nix/store/gai5bxh2k5dby37k5nqhhjb8prrz56gi-source codegraph-1.6.1> source root is source codegraph-1.6.1> Running phase: patchPhase codegraph-1.6.1> Executing npmConfigHook codegraph-1.6.1> Configuring npm codegraph-1.6.1> Validating consistency between /nix/var/nix/builds/nix-86959-3594807054/source/package-lock.json and /nix/store/kzsmbhx70c6d014wc7prq0ibaqp2f8cy-codegraph-1.6.1-npm-deps/package-lock.json codegraph-1.6.1> Making cache writable codegraph-1.6.1> Setting npm_config_cache to /nix/var/nix/builds/nix-86959-3594807054/cache codegraph-1.6.1> Installing dependencies codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> npm warn deprecated whatwg-encoding@3.1.1: Use @exodus/bytes instead for a more spec-conformant and faster implementation codegraph-1.6.1> codegraph-1.6.1> added 183 packages, and audited 185 packages in 5s codegraph-1.6.1> codegraph-1.6.1> 34 packages are looking for funding codegraph-1.6.1> run `npm fund` for details codegraph-1.6.1> codegraph-1.6.1> found 0 vulnerabilities codegraph-1.6.1> patching script interpreter paths in node_modules codegraph-1.6.1> node_modules/tldts/bin/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/@sveltejs/package/svelte-package.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/nanoid/bin/nanoid.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/acorn/bin/acorn: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/vitest/vitest.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/typescript/bin/tsserver: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/typescript/bin/tsc: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/vite/bin/vite.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/rollup/dist/bin/rollup: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/vite-node/vite-node.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/svelte-check/bin/svelte-check: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/why-is-node-running/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/esbuild/bin/esbuild: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> npm warn rebuild 2 packages have install scripts not yet covered by allowScripts. Run `npm install-scripts ls` to review. codegraph-1.6.1> rebuilt dependencies successfully codegraph-1.6.1> patching script interpreter paths in node_modules codegraph-1.6.1> Finished npmConfigHook codegraph-1.6.1> Running phase: updateAutotoolsGnuConfigScriptsPhase codegraph-1.6.1> Running phase: configurePhase codegraph-1.6.1> no configure script, doing nothing codegraph-1.6.1> Running phase: buildPhase codegraph-1.6.1> Executing npmBuildHook codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> codegraph-1.6.1> > @colbymchenry/codegraph@1.6.1 build codegraph-1.6.1> > tsc && npm run copy-assets && npm run build:ui && node -e "require('fs').chmodSync('dist/bin/codegraph.js', 0o755)" codegraph-1.6.1> codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> codegraph-1.6.1> > @colbymchenry/codegraph@1.6.1 copy-assets codegraph-1.6.1> > 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))" codegraph-1.6.1> codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> codegraph-1.6.1> > @colbymchenry/codegraph@1.6.1 build:ui codegraph-1.6.1> > npm run build --workspace ui && node scripts/check-ui-build.mjs codegraph-1.6.1> codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> codegraph-1.6.1> > @colbymchenry/codegraph-ui@1.6.0 build codegraph-1.6.1> > vite build codegraph-1.6.1> codegraph-1.6.1> vite v5.4.21 building for production... codegraph-1.6.1> ✓ 3 modules transformed. codegraph-1.6.1> x Build failed in 191ms codegraph-1.6.1> error during build: codegraph-1.6.1> [vite-plugin-svelte:load-custom] Could not load /nix/var/nix/builds/nix-86959-3594807054/source/ui/src/App.svelte (imported by src/main.ts): Cannot read properties of undefined (reading 'config') codegraph-1.6.1> at Object.handler (file:///nix/var/nix/builds/nix-86959-3594807054/source/ui/node_modules/@sveltejs/vite-plugin-svelte/src/plugins/load-custom.js:24:37) codegraph-1.6.1> at file:///nix/var/nix/builds/nix-86959-3594807054/source/node_modules/rollup/dist/es/shared/node-entry.js:22548:40 codegraph-1.6.1> at async PluginDriver.hookFirstAndGetPlugin (file:///nix/var/nix/builds/nix-86959-3594807054/source/node_modules/rollup/dist/es/shared/node-entry.js:22430:28) codegraph-1.6.1> at async file:///nix/var/nix/builds/nix-86959-3594807054/source/node_modules/rollup/dist/es/shared/node-entry.js:21422:33 codegraph-1.6.1> at async Queue.work (file:///nix/var/nix/builds/nix-86959-3594807054/source/node_modules/rollup/dist/es/shared/node-entry.js:22658:32) codegraph-1.6.1> npm error Lifecycle script `build` failed with error: codegraph-1.6.1> npm error code 1 codegraph-1.6.1> npm error path /nix/var/nix/builds/nix-86959-3594807054/source/ui codegraph-1.6.1> npm error workspace @colbymchenry/codegraph-ui@1.6.0 codegraph-1.6.1> npm error location /nix/var/nix/builds/nix-86959-3594807054/source/ui codegraph-1.6.1> npm error command failed codegraph-1.6.1> npm error command sh -c vite build codegraph-1.6.1> codegraph-1.6.1> ERROR: `npm run build [...]` failed codegraph-1.6.1> codegraph-1.6.1> Here are a few things you can try, depending on the error: codegraph-1.6.1> 1. Make sure your build script (build) exists codegraph-1.6.1> If there is none, set `dontNpmBuild = true`. codegraph-1.6.1> 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 codegraph-1.6.1> See https://github.com/webpack/webpack/issues/14532 for more information. codegraph-1.6.1> error: build of '/nix/store/akri7nifpa4hd0php6azy66s0grlph7c-codegraph-1.6.1.drv' on 'ssh-ng://customer@mac02.m.ntd.one' failed: Cannot build '/nix/store/akri7nifpa4hd0php6azy66s0grlph7c-codegraph-1.6.1.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/fklrd1yyfpcraqw11nj32fr9rgx4539a-codegraph-1.6.1 Last 25 log lines: > ✓ 3 modules transformed. > x Build failed in 191ms > error during build: > [vite-plugin-svelte:load-custom] Could not load /nix/var/nix/builds/nix-86959-3594807054/source/ui/src/App.svelte (imported by src/main.ts): Cannot read properties of undefined (reading 'config') > at Object.handler (file:///nix/var/nix/builds/nix-86959-3594807054/source/ui/node_modules/@sveltejs/vite-plugin-svelte/src/plugins/load-custom.js:24:37) > at file:///nix/var/nix/builds/nix-86959-3594807054/source/node_modules/rollup/dist/es/shared/node-entry.js:22548:40 > at async PluginDriver.hookFirstAndGetPlugin (file:///nix/var/nix/builds/nix-86959-3594807054/source/node_modules/rollup/dist/es/shared/node-entry.js:22430:28) > at async file:///nix/var/nix/builds/nix-86959-3594807054/source/node_modules/rollup/dist/es/shared/node-entry.js:21422:33 > at async Queue.work (file:///nix/var/nix/builds/nix-86959-3594807054/source/node_modules/rollup/dist/es/shared/node-entry.js:22658:32) > npm error Lifecycle script `build` failed with error: > npm error code 1 > npm error path /nix/var/nix/builds/nix-86959-3594807054/source/ui > npm error workspace @colbymchenry/codegraph-ui@1.6.0 > npm error location /nix/var/nix/builds/nix-86959-3594807054/source/ui > npm error command failed > npm error command sh -c vite 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. > For full logs, run: nix log /nix/store/akri7nifpa4hd0php6azy66s0grlph7c-codegraph-1.6.1.drv error: Cannot build '/nix/store/akri7nifpa4hd0php6azy66s0grlph7c-codegraph-1.6.1.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/fklrd1yyfpcraqw11nj32fr9rgx4539a-codegraph-1.6.1 error: Cannot build '/nix/store/27a1y61aqbygszd1jssj274555x4jbk3-check-codegraph.drv'. Reason: 1 dependency failed. Output paths: /nix/store/cp1yxmnxsq60rcmd28prf7dkq9qc6z6l-check-codegraph