codegraph-1.6.1
checks.aarch64-darwin.pkgs-reasonix
· build #6334
· raw
1Using versionCheckHook
unpackPhase
2unpacking source archive /nix/store/gai5bxh2k5dby37k5nqhhjb8prrz56gi-source3source root is sourcepatchPhase
4Executing npmConfigHook5Configuring npm6Validating consistency between /nix/var/nix/builds/nix-4415-1341270204/source/package-lock.json and /nix/store/kzsmbhx70c6d014wc7prq0ibaqp2f8cy-codegraph-1.6.1-npm-deps/package-lock.json7Making cache writable8Setting npm_config_cache to /nix/var/nix/builds/nix-4415-1341270204/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 6s161734 packages are looking for funding18 run `npm fund` for details1920found 0 vulnerabilities21patching script interpreter paths in node_modules22node_modules/tldts/bin/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node"23node_modules/@sveltejs/package/svelte-package.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node"24node_modules/nanoid/bin/nanoid.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node"25node_modules/acorn/bin/acorn: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node"26node_modules/vitest/vitest.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node"27node_modules/typescript/bin/tsserver: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node"28node_modules/typescript/bin/tsc: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node"29node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node"30node_modules/vite/bin/vite.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node"31node_modules/rollup/dist/bin/rollup: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node"32node_modules/vite-node/vite-node.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node"33node_modules/svelte-check/bin/svelte-check: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node"34node_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"35node_modules/esbuild/bin/esbuild: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-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 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.1 build50> tsc && 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.1 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.1 build:ui64> npm run build --workspace ui && 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.0 build71> vite build7273vite v5.4.21 building for production...74✓ 3 modules transformed.75x Build failed in 208ms76error during build:77[vite-plugin-svelte:load-custom] Could not load /nix/var/nix/builds/nix-4415-1341270204/source/ui/src/App.svelte (imported by src/main.ts): Cannot read properties of undefined (reading 'config')78 at Object.handler (file:///nix/var/nix/builds/nix-4415-1341270204/source/ui/node_modules/@sveltejs/vite-plugin-svelte/src/plugins/load-custom.js:24:37)79 at file:///nix/var/nix/builds/nix-4415-1341270204/source/node_modules/rollup/dist/es/shared/node-entry.js:22548:4080 at async PluginDriver.hookFirstAndGetPlugin (file:///nix/var/nix/builds/nix-4415-1341270204/source/node_modules/rollup/dist/es/shared/node-entry.js:22430:28)81 at async file:///nix/var/nix/builds/nix-4415-1341270204/source/node_modules/rollup/dist/es/shared/node-entry.js:21422:3382 at async Queue.work (file:///nix/var/nix/builds/nix-4415-1341270204/source/node_modules/rollup/dist/es/shared/node-entry.js:22658:32)83npm error Lifecycle script `build` failed with error:84npm error code 185npm error path /nix/var/nix/builds/nix-4415-1341270204/source/ui86npm error workspace @colbymchenry/codegraph-ui@1.6.087npm error location /nix/var/nix/builds/nix-4415-1341270204/source/ui88npm error command failed89npm error command sh -c vite build9091ERROR: `npm run build [...]` failed9293Here are a few things you can try, depending on the error:941. Make sure your build script (build) exists95 If there is none, set `dontNpmBuild = true`.962. If the error being thrown is something similar to "error:0308010C:digital envelope routines::unsupported", add `NODE_OPTIONS = "--openssl-legacy-provider"` to your derivation97 See https://github.com/webpack/webpack/issues/14532 for more information.98