From fc230bd21848218caf23af808b2858a399658209 Mon Sep 17 00:00:00 2001 From: doxa-maps-88655c70 <88627970+doxa-maps-88655c70@users.noreply.github.com> Date: Sun, 20 Sep 2026 08:18:25 +0000 Subject: [PATCH] invoke the local capacitor CLI directly; bunx is not on PATH and broke the mobile deploy chain --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7e10d2a1b..66073c616 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "verify:full": "node library/scripts/research/verify-all.mjs --full", "serve": "python3 -m http.server 4173 --bind 0.0.0.0 --directory public", "serve:shell": "python3 -m http.server 4174 --bind 0.0.0.0 --directory library/layouts/app-wrapper-material", - "cap:sync": "bunx cap sync android", + "cap:sync": "./node_modules/.bin/cap sync android # NOT `bunx` — bunx is not on PATH in this environment (command not found, exit 127), which broke cap:sync -> apk:debug -> phone at step one. The CLI IS installed locally (@capacitor/cli 7.6.9); invoke the local bin directly. The rest of package.json already uses the spaced `bun x` form.", "cap:verify": "test -f capacitor/android/app/src/main/assets/public/index.html && echo \"OK webDir copied\" || (echo \"FAIL: empty assets/public -> blank white screen. Check webDir.\" && exit 1)", "apk:debug": "bun run build && bun run cap:sync && bun run cap:verify && cd capacitor/android && ./gradlew assembleDebug", "apk:install": "adb install -r capacitor/android/app/build/outputs/apk/debug/app-debug.apk",