codegraph-1.6.3
checks.x86_64-linux.pkgs-codegraph
· build #11253
· raw
1attached to the build already running on this worker2shipyard-worker-4/nix-grpc-farm-worker-x86-64-65c6cc46-nzk6r: building rh112nmaip1czzhjjm829saj7gjghjkm-codegraph-1.6.3.drv3Using versionCheckHook
unpackPhase
4unpacking source archive /nix/store/912xqmjxh204sc21j83mf9y6wrn9za8b-source5source root is sourcepatchPhase
6Executing npmConfigHook7Configuring npm8Validating consistency between /build/source/package-lock.json and /nix/store/iyfjj21bq5nwmn2yhsgxsc6bdhfgw79y-codegraph-1.6.3-npm-deps/package-lock.json9Making cache writable10Setting npm_config_cache to /build/cache11Installing dependencies12npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.13npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.14npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.15npm warn deprecated whatwg-encoding@3.1.1: Use @exodus/bytes instead for a more spec-conformant and faster implementation1617added 173 packages, and audited 175 packages in 2s181932 packages are looking for funding20 run `npm fund` for details2122found 0 vulnerabilities23patching script interpreter paths in node_modules24node_modules/svelte-check/bin/svelte-check: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node"25node_modules/typescript/bin/tsserver: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node"26node_modules/typescript/bin/tsc: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node"27node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node"28node_modules/vitest/vitest.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node"29node_modules/tldts/bin/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node"30node_modules/nanoid/bin/nanoid.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node"31node_modules/esbuild/bin/esbuild: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node"32node_modules/rollup/dist/bin/rollup: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node"33node_modules/@sveltejs/package/svelte-package.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-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/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node"35node_modules/vite/bin/vite.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node"36node_modules/acorn/bin/acorn: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/j1j9b0w3mhpccdli73ycj5w7nf6fkzqz-nodejs-24.21.0/bin/node"37npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.38npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.39npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.40npm warn rebuild 1 package has install scripts not yet covered by allowScripts. Run `npm install-scripts ls` to review.41rebuilt dependencies successfully42patching script interpreter paths in node_modules43Finished npmConfigHookconfigurePhase
44no configure script, doing nothingbuildPhase
45Executing npmBuildHook46npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.47npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.48npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.4950> @colbymchenry/codegraph@1.6.3 build51> tsc && tsc --emitDeclarationOnly --noCheck --removeComments false && npm run copy-assets && npm run build:ui && node -e "require('fs').chmodSync('dist/bin/codegraph.js', 0o755)"5253npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.54npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.55npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.5657> @colbymchenry/codegraph@1.6.3 copy-assets58> 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))"5960npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.61npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.62npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.6364> @colbymchenry/codegraph@1.6.3 build:ui65> cd ui && npm run build && cd .. && node scripts/check-ui-build.mjs6667npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.68npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.69npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.7071> @colbymchenry/codegraph-ui@1.6.3 build72> node node_modules/vite/bin/vite.js build7374node:internal/modules/cjs/loader:156875 throw err;76 ^7778Error: Cannot find module '/build/source/ui/node_modules/vite/bin/vite.js'79 at Module._resolveFilename (node:internal/modules/cjs/loader:1564:15)80 at wrapResolveFilename (node:internal/modules/cjs/loader:1118:27)81 at defaultResolveImplForCJSLoading (node:internal/modules/cjs/loader:1142:10)82 at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1169:12)83 at Module._load (node:internal/modules/cjs/loader:1341:5)84 at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)85 at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)86 at node:internal/main/run_main_module:33:47 {87 code: 'MODULE_NOT_FOUND',88 requireStack: []89}9091Node.js v24.21.092npm error Lifecycle script `build` failed with error:93npm error code 194npm error path /build/source/ui95npm error workspace @colbymchenry/codegraph-ui@1.6.396npm error location /build/source/ui97npm error command failed98npm error command sh -c node node_modules/vite/bin/vite.js build99100ERROR: `npm run build [...]` failed101102Here are a few things you can try, depending on the error:1031. Make sure your build script (build) exists104 If there is none, set `dontNpmBuild = true`.1052. If the error being thrown is something similar to "error:0308010C:digital envelope routines::unsupported", add `NODE_OPTIONS = "--openssl-legacy-provider"` to your derivation106 See https://github.com/webpack/webpack/issues/14532 for more information.107