Open mtravis2 opened 3 months ago
Update, the error seems to be common on electron builds attempting to use hardware acceleration. https://github.com/ungoogled-software/ungoogled-chromium-archlinux/issues/68
On top of that it's still an open issue with electron builds on some flavors of linux https://github.com/electron/electron/issues/42322
I managed to build crwrite-v2 on linux by using the nvm manager to change the version of npm to 18, and by running the build and run command.
nvm use 18 npm run build npm run start
It compiles with no errors (sorry for the dump)
vite v5.2.8 building SSR bundle for production... ✓ 85 modules transformed. vite v5.2.8 building for production... ✓ 69 modules transformed. .svelte-kit/output/client/_app/version.json 0.03 kB │ gzip: 0.05 kB .svelte-kit/output/client/.vite/manifest.json 3.10 kB │ gzip: 0.51 kB .svelte-kit/output/client/_app/immutable/assets/0.BvB3t9KE.css 7.94 kB │ gzip: 2.22 kB .svelte-kit/output/client/_app/immutable/entry/start.BZz4lrYl.js 0.07 kB │ gzip: 0.08 kB .svelte-kit/output/client/_app/immutable/nodes/3.CvyKNoAT.js 0.65 kB │ gzip: 0.45 kB .svelte-kit/output/client/_app/immutable/nodes/2.DJtHfIbU.js 0.82 kB │ gzip: 0.49 kB .svelte-kit/output/client/_app/immutable/nodes/0.Cp12ISeO.js 0.84 kB │ gzip: 0.55 kB .svelte-kit/output/client/_app/immutable/nodes/1.B_LS2uTQ.js 1.02 kB │ gzip: 0.59 kB .svelte-kit/output/client/_app/immutable/chunks/scheduler.DvrTlSDz.js 2.19 kB │ gzip: 1.03 kB .svelte-kit/output/client/_app/immutable/chunks/index.CnHySKEK.js 5.83 kB │ gzip: 2.46 kB .svelte-kit/output/client/_app/immutable/entry/app.B1i4bumc.js 6.39 kB │ gzip: 2.56 kB .svelte-kit/output/client/_app/immutable/nodes/4.DiUbTHIp.js 16.55 kB │ gzip: 5.85 kB .svelte-kit/output/client/_app/immutable/chunks/entry.BGnB11xp.js 27.35 kB │ gzip: 10.79 kB ✓ built in 1.00s .svelte-kit/output/server/.vite/manifest.json 2.29 kB .svelte-kit/output/server/_app/immutable/assets/_layout.BvB3t9KE.css 7.94 kB .svelte-kit/output/server/entries/pages/_layout.js 0.12 kB .svelte-kit/output/server/internal.js 0.31 kB .svelte-kit/output/server/entries/pages/guided/_page.svelte.js 0.35 kB .svelte-kit/output/server/entries/pages/_layout.svelte.js 0.45 kB .svelte-kit/output/server/entries/pages/_page.svelte.js 0.58 kB .svelte-kit/output/server/entries/fallbacks/error.svelte.js 1.18 kB .svelte-kit/output/server/chunks/ssr.js 3.95 kB .svelte-kit/output/server/chunks/exports.js 5.96 kB .svelte-kit/output/server/chunks/internal.js 6.03 kB .svelte-kit/output/server/entries/pages/manual/_page.svelte.js 8.66 kB .svelte-kit/output/server/index.js 93.24 kB ✓ built in 4.01s
Run npm run preview to preview your production build locally.
But once I start it I get all kinds of errors
cnc@cnc:~/coastWritter2/crwrite-v2-master$ npm run start
I can't find the file it's attempting to access even after the build. Is this issue just for me or is this an issue with building this for linux?