i’m trying to add Capacitor Electron to a brand new Ionic React App but it doesn’t work.
Do you have a tutorial to follow?
I tried to follow this guide:
nstallation into an existing Capacitor application.# Note: these instructions require a Capacitor version of ^3.2.0 Build your webapp in your capacitor initiated project ('npm run build' for example). Run npm i @capacitor-community/electron in your webapp project directory. This will install the platform for use with the @capacitor/cli. Run npx cap add @capacitor-community/electron to initiate the platform, this will create the electron folder in your webapp project. Run npx cap open @capacitor-community/electron to start your app in electron. Note: You can use other npx cap commands with the platform by: npx cap <command> @capacitor-community/electron
but it doesn’t work, the app gives me a “exited with a non zero error” etc etc.
the folder Electron is created but nothing else works if I try to run
npx cap open @capacitor-community/electron
any tutorial / suggestion?