Open meghajayakumar opened 1 year ago
'npx cap open electron' is referencing discontinued electron platform, and not the capacitor-community platform where you are writing this issue. If you want to use this capacitor-community platform read the docu
npx cap copy @capacitor-community/electron is same error....
Describe the bug Just migrated from electron 8.5.5 to 19.0.9 for an electron ionic desktop application project. When trying to open electron window with the command 'npx cap open electron', it throws an error: Unable to load preload script: ..electron\node_modules\@capacitor\electron\dist\electron-bridge.js
Implementation
Expected behavior Electron window should open with the command 'npx cap open electron'
Screenshots
![image](https://user-images.githubusercontent.com/54796878/180452596-c7aa8fb3-df82-42be-9748-abc38e685fc9.png)
Desktop (please complete the following information):