Building doesn't work
Closed this issue · 2 comments
craig commented
I'm on Debian 12, having issues building:
I installed npm and vite: apt install npm vite
root@host:~/berghain/web# npm run build
> berghain-web@0.0.1 build
> vite build
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Aborted
craig commented
Fix:
apt install npm
npm install
npm run build
fionera commented
Debian has something else than the vitejs tool behind its vite
package (https://packages.debian.org/de/buster/vite). Just uninstall it from the system and use npm only.
Yes I need to add proper build instructions :D