Javascript error

Hi, I’m new to Carplay and raspberry pi and right now learning the tutorials on the internet of how to make carplay by using raspberry pi.
I am attemping to run Carplay 3.0.2 armv7l on my raspberry pi model 3 with operating system of raspberry pi os 32 bit, it shows that Javascript error as follows:
A JavaScript error occurred in the main process
Uncaught Exception:
Error: No native build was found for platform=linux arch=arm runtime=electron abi=110 uv=1 armv=default libc=glibc node=16.17.1 electron=22.0.0
loaded from: /tmp/.mount_Carplaam3DrY/resources/app.asar/node_modules/node-carplay/node_modules/usb

at load.path (/tmp/.mount_Carplaam3DrY/resources/app.asar/node_modules/node-gyp-build/index.js:60:9)
at load (/tmp/.mount_Carplaam3DrY/resources/app.asar/node_modules/node-gyp-build/index.js:22:30)
at Object.<anonymous> (/tmp/.mount_Carplaam3DrY/resources/app.asar/node_modules/node-carplay/node_modules/usb/dist/usb/bindings.js:8:36)
at Module._compile (node:internal/modules/cjs/loader:1141:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1196:10)
at Module.load (node:internal/modules/cjs/loader:1011:32)
at Module._load (node:internal/modules/cjs/loader:846:12)
at f._load (node:electron/js2c/asar_bundle:2:13328)
at Module.require (node:internal/modules/cjs/loader:1035:19)
at require (node:internal/modules/cjs/helpers:102:18)

[1092:0820/] Exiting GPU process due to errors during initialization
[1115:0820/] Exiting GPU process due to errors during initialization
[1140:0820/] dri3 extension not supported.
I have no idea what went wrong and hope I can get any help. Thank you!

Hi are you running this with a desktop installed on the pi?

I’m not sure what you are asking but I used pi 3 and system of os 32 bit.
Here is what I constructed

Did you install via or did you download the file direct?

you mean the file you provide in GitHub?
i downloaded it directly

Did you do the armv7l version? that is the 32bit one, alternatively, clone the repo and run

sorry for the late reply.
I confirmed that I did the armv7l but same problem.
However, it seems works when I cloned the repo and run

what do i do next?

so i tried to launch the app but failed.

Looks like there’s no network connection, it needs to download the APK on first run (first run on auto run, and also first run on manual run)

thanks! The initializtion was successful!

1 Like