nixbot

builds

failed codegraph-1.6.1 checks.x86_64-linux.pkgs-reasonix · build #6266 · raw

1Using versionCheckHook
unpackPhase
2unpacking source archive /nix/store/gai5bxh2k5dby37k5nqhhjb8prrz56gi-source3source root is source
patchPhase
4Executing npmConfigHook5Configuring npm6Validating consistency between /build/source/package-lock.json and /nix/store/kzsmbhx70c6d014wc7prq0ibaqp2f8cy-codegraph-1.6.1-npm-deps/package-lock.json7Making cache writable8Setting npm_config_cache to /build/cache9Installing dependencies10npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.11npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.12npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.13npm warn deprecated whatwg-encoding@3.1.1: Use @exodus/bytes instead for a more spec-conformant and faster implementation1415added 183 packages, and audited 185 packages in 3s161734 packages are looking for funding18 run `npm fund` for details1920found 0 vulnerabilities21patching script interpreter paths in node_modules22node_modules/vite/bin/vite.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node"23node_modules/acorn/bin/acorn: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node"24node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node"25node_modules/vitest/vitest.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node"26node_modules/esbuild/bin/esbuild: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node"27node_modules/why-is-node-running/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node"28node_modules/vite-node/vite-node.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node"29node_modules/nanoid/bin/nanoid.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node"30node_modules/svelte-check/bin/svelte-check: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node"31node_modules/rollup/dist/bin/rollup: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node"32node_modules/@sveltejs/package/svelte-package.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node"33node_modules/typescript/bin/tsc: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node"34node_modules/typescript/bin/tsserver: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node"35node_modules/tldts/bin/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.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 2 packages have install scripts not yet covered by allowScripts. Run `npm install-scripts ls` to review.40rebuilt dependencies successfully41patching script interpreter paths in node_modules42Finished npmConfigHook43patchPhase completed in 34 seconds
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 102ms77error 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