-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error starting electron app on new projects (capacitor 6) : UnhandledPromiseRejection on /live-runner.js #284
Comments
I think it's related with the node version... The latest LTS seems to crash the build. |
I am also getting same error. My node version is Node.js v18.20.2 |
Experiencing the exact same error. |
Same error, node v20.12.2 |
I had to downgrade to node version 18.19.0 to make it work. |
Thanks you. It work for me. |
you can fix it by change line 19 in live-runner.js https://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2 |
Describe the bug
When starting a new ionic app and adding a electron capacitor plataform an erro happens when trying to start the electron app.
Yesterday Capacitor 6 was released. I don't know if it related to this new version.
To Reproduce
ionic start > angular > XPTOapp > standalone
ionic build --prod
npm i @capacitor-community/electron
npx cap add @capacitor-community/electron
npx cap open @capacitor-community/electron
Expected behavior
Build should happen and app should start.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: