This is great work.
I am running into two issues (one fixed).
I'm running Pianoteq and your server on a Raspberry Pi 400.
Before starting the server, I set up a the Raspberry Pi as a Wifi Hotspot (without internet), since that will allow for use even where there is no internet.
One probem I had (solved) was that npx checks for updates by default.
However, if there is no internet, this (futile) check takes a good while before it fails.
The fix I found is to use the "no update" flag to prevent they update check - e.g. (from the server directory):
NO_UPDATE_CHECK=1 npx serve -s build
(Reference: https://github.com/vercel/serve/pull/457)
The other problem: when I connect to the server using my Android phone or tablet, the webpage is devoid of all "style". What am I missing?
PS my hunch (after looking at the page source) was that the Android device couldn't get the "bootstrap" CSS, because the Raspberry Pi had no internet connection - but that somehow the Raspberry Pi was able to get the CSS during installation of the application (when there was a internet connection).
Indeed this hunch was proven, because when I connected the Raspberry Pi to Ethernet, the Android device WAS able to get the style sheet (the application looked normal). And (happily) when I disconnected the ethernet, the server page still looked normal despite lack of internet.
Last edited by Pete the Greek (12-10-2025 19:22)