Capacitor v7
npx cap doctor is green across the board
was compiling and building for android and ios without issue
suddenly started to throw the following error below and the only change was upgrading from Sonoma to Sequoia but builds were able to happen after the update still but now suddenly they don’t.
“[error] serve command is not know for this project type”
And if the build is stopped by clicking on stop in Iconic dashboard plugin on visual studio code, the following error is thrown
" [error] npx cap run android --target=R3CR40JYW1E --live-reload --port=8100 --host=192.168.1.81 & npx undefined --no-open --host=192.168.1.81 --port=8100 Cancelled
[error] Android Failed."
Rebuilt Android folder, restarted all devices, rebuilt, re-deployed, error persists.
Android device shows “webpage not available The webpage at http://192.168.1.81:8100/ could not be loaded becuase: net::ERR_CONNECTION_REFUSED” when deployed
Errors in npm log are not pointing to any resolution and state
“13 silly packumentCache heap:4345298944 maxSize:1086324736 maxEntrySize:543162368
14 http fetch GET 200 https://registry.npmjs.org/undefined 490ms (cache updated)
15 verbose stack Error: could not determine executable to run
15 verbose stack at getBinFromManifest (/opt/homebrew/Cellar/node/23.9.0/lib/node_modules/npm/node_modules/libnpmexec/lib/get-bin-from-manifest.js:17:23)
15 verbose stack at exec (/opt/homebrew/Cellar/node/23.9.0/lib/node_modules/npm/node_modules/libnpmexec/lib/index.js:205:15)
15 verbose stack at async Npm.exec (/opt/homebrew/Cellar/node/23.9.0/lib/node_modules/npm/lib/npm.js:208:9)
15 verbose stack at async module.exports (/opt/homebrew/Cellar/node/23.9.0/lib/node_modules/npm/lib/cli/entry.js:67:5)
16 verbose pkgid undefined@0.1.0
17 error could not determine executable to run
18 verbose cwd /capacitor
19 verbose os Darwin 24.3.0
20 verbose node v23.9.0
21 verbose npm v11.2.0
22 verbose exit 1
23 verbose code 1”