vue-cli-plugin-electron-builder
vue-cli-plugin-electron-builder copied to clipboard
can not launch electron app on debian10
Describe the bug i have created an electron-vue project on debian10 with aarch64 and amd64 platform,when use yarn electron:serve to run this project,it complied success but don't show the main window,i have tried so many times with the same result
To Reproduce Steps to reproduce the behavior: 1.vue create test_demo 2.cd test_demo 3.vue add electron-builder 4.yarn electron:serve
Expected behavior compile success and show the normal windows
Screenshots
Environment (please complete the following information): system:Linux debian10 4.19.0-20-amd64 https://github.com/electron/electron/issues/1 SMP Debian 4.19.235-1(2022-03-17) x86_64 GNU/Linux vue: 3.2.13 electron: 13.0.0 vue-cli-plugin-electron-builder:~2.1.1
Additional context
How about building the app and running the compiled executable?
When that is not working, that is probably a sign the current release will not work with Vue3. But I am not sure about that.
How about building the app and running the compiled executable?
When that is not working, that is probably a sign the current release will not work with Vue3. But I am not sure about that.
Thanks,i check the dist_electron,there have no compiled executable file,BTW,I have success run yarn electron:serve in debian10 aarch64 one time,but when i re-run,it never run successed,i have repeat these so many times,
and I have try with Vue2,but have the same question on debian10, Would you mind provide me the normal version of Vue or Electron which can run on debian10?
I have really no clue why it isn't working.
Please try to run my project: https://github.com/tue-robotics/hero-display I have been using NPM, not YARN. I have used it on ubuntu 18 and 20. Both electron:serve
and electron:build
should work.
I have really no clue why it isn't working.
Please try to run my project: https://github.com/tue-robotics/hero-display I have been using NPM, not YARN. I have used it on ubuntu 18 and 20. Both
electron:serve
andelectron:build
should work.
thanks a lot,i'll have a try!
@liudenaxietian does my project work on your debian 10 machine?
same here, I have try to exec yarn electron:serve
&& npm run electron:serve
get same error, but yarn electron:build
was work well
@liudenaxietian does my project work on your debian 10 machine?



I don't have a debian machine and debian is also not available in GH actions. So it is almost impossible for me to help you.
Maybe I have found a solution.
- clone a simple demo by
git clone https://github.com/electron/electron-quick-start
-
cd electron-quick-start
&&npm install
- run script
npm run start
get error:
The SUID sandbox helper binary was found, but is not configured correctly

so, re-run with npm run start --no-sandbox
, got same error, then try yarn start --no-sanbox
, it will launch successfully

So, I wonder if there is a way to pass --no-sanbox
to electron
in vue-cli-plugin-electron-builder
??