`laravel dev` fails on Android ARM64 (Termux) due to missing `vite-plus` native binding
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 52/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript, laravel, node.js, rust
Research direction
Start by reading the laravel dev process setup and the dev:vite script that invokes vp dev; the issue does not name their files. Check how the Vite process handles unsupported Android ARM64 bindings and how concurrently propagates its failure. Confirm the dev session can run on Termux without terminating the server and queue worker.
Written by the indexing model from the issue text.
Description
When running laravel dev on Android (aarch64 via Termux), the Rust server and queue worker start properly, but npm run dev:vite (vp dev) crashes immediately because vite-plus does not publish a native Android ARM64 or wasm32-wasi binding. Since concurrently uses --kill-others, this terminates the entire dev session.
Steps to Reproduce
- Create a new Laravel Rust app (
laravel new my-app --rust) or clonelaravel/rustin Termux on anaarch64Android device. - Run
laravel dev.
Error Output
[vite] > dev:vite
[vite] > vp dev
[vite]
[vite] Error: Cannot find native binding. npm has a bug related to optional dependencies (https://github.com). Please try `npm i` again after removing both package-lock.json and node_modules directory.
[vite] cause: Error: Cannot find module '@voidzero-dev/vite-plus-wasm32-wasi'
[vite] cause: Error: Cannot find module '@voidzero-dev/vite-plus-android-arm64'
[vite] npm run dev:vite exited with code 1
--> Sending SIGTERM to other processes..
[server] npm run dev:server exited with code 143
[queue] npm run dev:queue exited with code 143
Environment
- OS / Platform: Android (
aarch64/ Termux) - Node.js:
v26.13.1
- Dominant language
- Rust
- Stars
- 2.2k
- Forks
- 105
- Avg merge
- 7h 19m
- Merged PRs (30d)
- 41
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from laravel/rust
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
laravel/rust#98 · 8 comments · 10 reactions ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
neuralmagic/crucible#579 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
laravel/rust-framework#864 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
eclipse-score/kyron#249 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
seanmonstar/reqwest#3157 ·
Maintainers usually reply within 2 days