Demo of the issue with serial port on Electron on MacOS for electron/electron#41220.
It fails on MacOS in the Electron development mode, but works on Windows.
- Clone this repository
- Run
yarn install
in the electron directory - Run
yarn install
in the ui directory - Run
yarn start
in the ui directory - Run
yarn start
in the electron directory - Click on the "Open port" button
- The app will crash with the following error:
Electron[65218:1757122] -[IOBluetoothDeviceInquiry initWithDelegate:] - 0x13c00db9e00
setDevicePermissionHandler fired with http://localhost:3000
/Users/{user}/electron-serial-issue/electron/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron exited with signal SIGABRT
error Command failed with exit code 1.