kjk / edna

Note taking for developers and power users
https://edna.arslexis.io
Other
390 stars 18 forks source link

Bug: front end build fails #40

Closed f8dca closed 4 months ago

f8dca commented 4 months ago
createEmptyFile: 'server\dist\gitkeep.txt'
deleted frontend dist dir 'server\dist'
bun install v1.1.18 (5a0b9352)
warn: incorrect peer dependency "svelte@5.0.0-next.169"
  📦 Installing [106/256]
error: failed to enqueue lifecycle scripts for esbuild: ENOENT

+ @lezer/generator@1.7.1
+ @playwright/test@1.45.1
+ @sveltejs/vite-plugin-svelte@3.1.1
+ @types/bun@1.1.6
+ @types/node@20.14.9
+ autoprefixer@10.4.19
+ markdown-it@14.1.0
+ markdown-it-anchor@9.0.1
+ postcss@8.4.39
+ prettier-plugin-svelte@3.2.5
+ svelte@5.0.0-next.169
+ tailwindcss@3.4.4
+ vite@5.3.3
+ @codemirror/autocomplete@6.17.0
+ @codemirror/commands@6.6.0
+ @codemirror/lang-cpp@6.0.2
+ @codemirror/lang-css@6.2.1
+ @codemirror/lang-html@6.4.9
+ @codemirror/lang-java@6.0.1
+ @codemirror/lang-javascript@6.2.2
+ @codemirror/lang-json@6.0.1
+ @codemirror/lang-lezer@6.0.1
+ @codemirror/lang-markdown@6.2.5
+ @codemirror/lang-php@6.0.1
+ @codemirror/lang-python@6.1.6
+ @codemirror/lang-rust@6.0.1
+ @codemirror/lang-sql@6.7.0
+ @codemirror/lang-vue@0.1.3
+ @codemirror/lang-xml@6.1.0
+ @codemirror/language@6.10.2
+ @codemirror/legacy-modes@6.4.0
+ @codemirror/lint@6.8.1
+ @codemirror/search@6.5.6
+ @codemirror/state@6.4.1
+ @codemirror/view@6.28.4
+ @lezer/highlight@1.2.0
+ @lezer/markdown@1.3.0
+ @replit/codemirror-lang-csharp@6.2.0
+ @replit/codemirror-lang-svelte@6.0.0
+ @zip.js/zip.js@2.7.45
+ debounce@2.1.0
+ idb@8.0.0
+ kiss-crypto@0.3.0-beta.0
+ overlayscrollbars@2.9.2
+ prettier@3.3.2

216 packages installed [2.81s]
Failed to install 1 package
took 3.5454424s
panic: exit status 1
kjk commented 4 months ago

Looks like bun install fails. Not my code, not my bug. It never failed on my dev windows laptop.

You have to figure out why it fails. ENOENT is file missing, I think. It could be temporary network failure. It could be messed up install. It could be really weird, unsupported os.

Run bun install in debug / verbose mode, read the logs. Try yarn, try npm.