codegraph-1.6.3
checks.aarch64-darwin.pkgs-reasonix
· build #11253
· raw
1mac02: building wykigqh6fr4bzmlczsk2yv6mnrr5rp74-codegraph-1.6.3.drv2Using versionCheckHook
unpackPhase
3unpacking source archive /nix/store/912xqmjxh204sc21j83mf9y6wrn9za8b-source4source root is sourcepatchPhase
5Executing npmConfigHook6Configuring npm7Validating consistency between /nix/var/nix/builds/nix-96995-1750876528/source/package-lock.json and /nix/store/iyfjj21bq5nwmn2yhsgxsc6bdhfgw79y-codegraph-1.6.3-npm-deps/package-lock.json8Making cache writable9Setting npm_config_cache to /nix/var/nix/builds/nix-96995-1750876528/cache10Installing dependencies11npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.12npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.13npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.14npm warn deprecated whatwg-encoding@3.1.1: Use @exodus/bytes instead for a more spec-conformant and faster implementation1516added 173 packages, and audited 175 packages in 679ms171832 packages are looking for funding19 run `npm fund` for details2021found 0 vulnerabilities22patching script interpreter paths in node_modules23node_modules/tldts/bin/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/i376rizbw75rswsg2qlk47wj4zz3biqq-nodejs-24.21.0/bin/node"24node_modules/@sveltejs/package/svelte-package.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/i376rizbw75rswsg2qlk47wj4zz3biqq-nodejs-24.21.0/bin/node"25node_modules/nanoid/bin/nanoid.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/i376rizbw75rswsg2qlk47wj4zz3biqq-nodejs-24.21.0/bin/node"26node_modules/acorn/bin/acorn: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/i376rizbw75rswsg2qlk47wj4zz3biqq-nodejs-24.21.0/bin/node"27node_modules/vitest/vitest.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/i376rizbw75rswsg2qlk47wj4zz3biqq-nodejs-24.21.0/bin/node"28node_modules/typescript/bin/tsserver: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/i376rizbw75rswsg2qlk47wj4zz3biqq-nodejs-24.21.0/bin/node"29node_modules/typescript/bin/tsc: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/i376rizbw75rswsg2qlk47wj4zz3biqq-nodejs-24.21.0/bin/node"30node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/i376rizbw75rswsg2qlk47wj4zz3biqq-nodejs-24.21.0/bin/node"31node_modules/vite/bin/vite.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/i376rizbw75rswsg2qlk47wj4zz3biqq-nodejs-24.21.0/bin/node"32node_modules/rollup/dist/bin/rollup: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/i376rizbw75rswsg2qlk47wj4zz3biqq-nodejs-24.21.0/bin/node"33node_modules/svelte-check/bin/svelte-check: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/i376rizbw75rswsg2qlk47wj4zz3biqq-nodejs-24.21.0/bin/node"34node_modules/why-is-node-running/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/i376rizbw75rswsg2qlk47wj4zz3biqq-nodejs-24.21.0/bin/node"35node_modules/esbuild/bin/esbuild: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/i376rizbw75rswsg2qlk47wj4zz3biqq-nodejs-24.21.0/bin/node"36npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.37npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.38npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.39npm warn rebuild 1 package has install scripts not yet covered by allowScripts. Run `npm install-scripts ls` to review.40rebuilt dependencies successfully41patching script interpreter paths in node_modules42Finished npmConfigHookconfigurePhase
43no configure script, doing nothingbuildPhase
44Executing npmBuildHook45npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.46npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.47npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.4849> @colbymchenry/codegraph@1.6.3 build50> tsc && tsc --emitDeclarationOnly --noCheck --removeComments false && npm run copy-assets && npm run build:ui && node -e "require('fs').chmodSync('dist/bin/codegraph.js', 0o755)"5152npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.53npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.54npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.5556> @colbymchenry/codegraph@1.6.3 copy-assets57> 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))"5859npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.60npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.61npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.6263> @colbymchenry/codegraph@1.6.3 build:ui64> cd ui && npm run build && cd .. && node scripts/check-ui-build.mjs6566npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.67npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.68npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.6970> @colbymchenry/codegraph-ui@1.6.3 build71> node node_modules/vite/bin/vite.js build7273node:internal/modules/cjs/loader:156874 throw err;75 ^7677Error: Cannot find module '/nix/var/nix/builds/nix-96995-1750876528/source/ui/node_modules/vite/bin/vite.js'78 at Module._resolveFilename (node:internal/modules/cjs/loader:1564:15)79 at wrapResolveFilename (node:internal/modules/cjs/loader:1118:27)80 at defaultResolveImplForCJSLoading (node:internal/modules/cjs/loader:1142:10)81 at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1169:12)82 at Module._load (node:internal/modules/cjs/loader:1341:5)83 at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)84 at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)85 at node:internal/main/run_main_module:33:47 {86 code: 'MODULE_NOT_FOUND',87 requireStack: []88}8990Node.js v24.21.091npm error Lifecycle script `build` failed with error:92npm error code 193npm error path /nix/var/nix/builds/nix-96995-1750876528/source/ui94npm error workspace @colbymchenry/codegraph-ui@1.6.395npm error location /nix/var/nix/builds/nix-96995-1750876528/source/ui96npm error command failed97npm error command sh -c node node_modules/vite/bin/vite.js build9899ERROR: `npm run build [...]` failed100101Here are a few things you can try, depending on the error:1021. Make sure your build script (build) exists103 If there is none, set `dontNpmBuild = true`.1042. If the error being thrown is something similar to "error:0308010C:digital envelope routines::unsupported", add `NODE_OPTIONS = "--openssl-legacy-provider"` to your derivation105 See https://github.com/webpack/webpack/issues/14532 for more information.106