Solid Start on RPi 4 Gives Illegal Instruction

I recently started using Solid Start and am really enjoying the experience, but when I tried to deploy my website to my home server (just a Raspberry Pi 4), both building and running the dev server result in the following crash immediately after printing out vinxi v0.5.8:
zsh: illegal hardware instruction (core dumped) npm run build
zsh: illegal hardware instruction (core dumped) npm run build
I confirmed that this isn't just an issue with one of my other dependencies by making a new basic SolidStart project on the Pi, and it raised the same exception. It works perfectly fine on x86-64 machines as well as my M1 Macbook running Asahi Linux (another aarch64 machine). Has anyone else encountered this problem or have some insights on how to debug / fix this? I tried inspecting the build using GDB, but Node seems to some forking and multi-threading that deeply obscures the actual program point of the crash and the library behind it. All I get is the assembly where Node killed the misbehaving process. Any insights would be much appreciated!
1 Reply
Simon Chan
Simon Chan4w ago
GitHub
Illegal Instruction on arm64 machine · Issue #20534 · vitejs/vite
Describe the bug I'm running my project on a raspberry Pi 4 Debian Bookworm Lite. I had no problem running vite build Friday morning, but since Saturday I started to get the "Illegal Instr...

Did you find this page helpful?