Closed ABUAIJUTIE closed 8 months ago
Interesting, main JavaScript error page looks like no dongle attached, can you verify the dongles recognised and put the pid and vid on here of the device?
Sorry for taking so long to feedback. The dongle is not always recognizable, probably caused by running beta OS version(Sonoma). When it can be recognized, it shows:
There is a new but odd condition that sometimes it is able to show this guide UI(with JavaScript LIBUSB Error popover):
But nothing happens after connecting iPhone to the dongle. Neither wired or wireless. And it calls out Continuity Camera when I attempt to click the SETTINGS button:
After clicking the CLICK TO RELOAD button, it crashes and leaves logs like this:
> carplay@3.0.2 start-electron
> export ELECTRON_START_URL=http://localhost:3000 && electron . --no-sandbox
/Users/xiaobu/Library/Application Support/ReactCarplay
2023-07-25 15:52:16.079 Electron[7141:43129] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
spawning carplay {
dpi: 240,
nightMode: 0,
hand: 0,
boxName: 'nodePlay',
width: 800,
height: 480,
fps: 30
}
directory found
sending dpi
device connected and ready
starting projection
Error clearing inendpoint halt
Error clearing outendpoint halt
[7146:0725/155216.536045:ERROR:system_services.cc(34)] SetApplicationIsDaemon: Error Domain=NSOSStatusErrorDomain Code=-50 "paramErr: error in user parameter list" (-50)
carplay connection
carplay connection
enabling wifi
auto connecting
no device, sending pair
14 0.0529296875 0.05420353982300885
I’ve just tested on my Ventura iMac and had the same issue, traced back the update to node-usb, I’ve gotten round it now, just need to clean it up!
Same JavaScript error as this closed one #2
Using the latest source codes to build and run. Logs in the terminal after close the error popup:
The app window shows LOADING like this a few seconds after the last log:
Thanks for your awesome work and sharing!