nixbot

builds

failed codegraph-1.6.1 checks.aarch64-linux.pkgs-codegraph · build #6334 · raw

1elastic-arm-53507eda: building xyyja8lg27asx704h0dahihnafrdcf0f-codegraph-1.6.1.drv2Using versionCheckHook
unpackPhase
3unpacking source archive /nix/store/gai5bxh2k5dby37k5nqhhjb8prrz56gi-source4source root is source
patchPhase
5Executing npmConfigHook6Configuring npm7Validating consistency between /build/source/package-lock.json and /nix/store/kzsmbhx70c6d014wc7prq0ibaqp2f8cy-codegraph-1.6.1-npm-deps/package-lock.json8Making cache writable9Setting npm_config_cache to /build/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 183 packages, and audited 185 packages in 4s171834 packages are looking for funding19 run `npm fund` for details2021found 0 vulnerabilities22patching script interpreter paths in node_modules23node_modules/typescript/bin/tsc: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/hnizp3p9k7gix8iqlip1pai9fy417ygy-nodejs-24.20.0/bin/node"24node_modules/typescript/bin/tsserver: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/hnizp3p9k7gix8iqlip1pai9fy417ygy-nodejs-24.20.0/bin/node"25node_modules/acorn/bin/acorn: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/hnizp3p9k7gix8iqlip1pai9fy417ygy-nodejs-24.20.0/bin/node"26node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/hnizp3p9k7gix8iqlip1pai9fy417ygy-nodejs-24.20.0/bin/node"27node_modules/vite-node/vite-node.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/hnizp3p9k7gix8iqlip1pai9fy417ygy-nodejs-24.20.0/bin/node"28node_modules/esbuild/bin/esbuild: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/hnizp3p9k7gix8iqlip1pai9fy417ygy-nodejs-24.20.0/bin/node"29node_modules/vitest/vitest.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/hnizp3p9k7gix8iqlip1pai9fy417ygy-nodejs-24.20.0/bin/node"30node_modules/@sveltejs/package/svelte-package.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/hnizp3p9k7gix8iqlip1pai9fy417ygy-nodejs-24.20.0/bin/node"31node_modules/tldts/bin/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/hnizp3p9k7gix8iqlip1pai9fy417ygy-nodejs-24.20.0/bin/node"32node_modules/why-is-node-running/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/hnizp3p9k7gix8iqlip1pai9fy417ygy-nodejs-24.20.0/bin/node"33node_modules/svelte-check/bin/svelte-check: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/hnizp3p9k7gix8iqlip1pai9fy417ygy-nodejs-24.20.0/bin/node"34node_modules/nanoid/bin/nanoid.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/hnizp3p9k7gix8iqlip1pai9fy417ygy-nodejs-24.20.0/bin/node"35node_modules/vite/bin/vite.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/hnizp3p9k7gix8iqlip1pai9fy417ygy-nodejs-24.20.0/bin/node"36node_modules/rollup/dist/bin/rollup: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/hnizp3p9k7gix8iqlip1pai9fy417ygy-nodejs-24.20.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 2 packages have install scripts not yet covered by allowScripts. Run `npm install-scripts ls` to review.41rebuilt dependencies successfully42patching script interpreter paths in node_modules43Finished npmConfigHook
configurePhase
44no configure script, doing nothing
buildPhase
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.1 build51> tsc && 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.1 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.1 build:ui65> npm run build --workspace ui && 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.0 build72> vite build7374vite v5.4.21 building for production...75✓ 3 modules transformed.76x Build failed in 108ms77error during build:78[vite-plugin-svelte:load-custom] Could not load /build/source/ui/src/App.svelte (imported by src/main.ts): Cannot read properties of undefined (reading 'config')79 at Object.handler (file:///build/source/ui/node_modules/@sveltejs/vite-plugin-svelte/src/plugins/load-custom.js:24:37)80 at file:///build/source/node_modules/rollup/dist/es/shared/node-entry.js:22548:4081 at async PluginDriver.hookFirstAndGetPlugin (file:///build/source/node_modules/rollup/dist/es/shared/node-entry.js:22430:28)82 at async file:///build/source/node_modules/rollup/dist/es/shared/node-entry.js:21422:3383 at async Queue.work (file:///build/source/node_modules/rollup/dist/es/shared/node-entry.js:22658:32)84npm error Lifecycle script `build` failed with error:85npm error code 186npm error path /build/source/ui87npm error workspace @colbymchenry/codegraph-ui@1.6.088npm error location /build/source/ui89npm error command failed90npm error command sh -c vite build9192ERROR: `npm run build [...]` failed9394Here are a few things you can try, depending on the error:951. Make sure your build script (build) exists96 If there is none, set `dontNpmBuild = true`.972. If the error being thrown is something similar to "error:0308010C:digital envelope routines::unsupported", add `NODE_OPTIONS = "--openssl-legacy-provider"` to your derivation98 See https://github.com/webpack/webpack/issues/14532 for more information.99