Skip to content
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

Not able to build on Raspberry Pi #581

Closed
random-webdeveloper opened this issue Dec 7, 2019 · 3 comments
Closed

Not able to build on Raspberry Pi #581

random-webdeveloper opened this issue Dec 7, 2019 · 3 comments

Comments

@random-webdeveloper
Copy link

Describe the bug
When I try to build on my raspberry PI with npm run electron:build I get the error "unsupported arch arm". I already looked up the docs but can't seem to find any option/parameter to pass and make it work

To Reproduce
Steps to reproduce the behavior:
build on raspberry Pi

Expected behavior
That it works out of the box or the ability of passing a parameter to make it work

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS and version: Raspian 10 (debian buster)
  • node version: 10.15.2
  • npm version: 5.8.0
  • yarn version (if used):
  • vue-cli-plugin-electron-builder version : 1.4.3
  • electron version: 6.0.0
  • other vue plugins used: none
  • custom config for vcp-electron-builder: none
  • (if possible) link to your repo:

Additional context
Add any other context about the problem here.

@nklayman
Copy link
Owner

This error is caused by electron builder, not this plugin. Try passing the --arm64 or --armv7l arguments to the command (npm run electron:build -- --arm64, don't skip extra --). A similar issue exists on the electron-builder repo, so if these solutions don't work you can add a comment to that thread.

@mchev
Copy link

mchev commented Sep 4, 2021

To work properly in RPI4 raspian i used :
npm run electron:build -- --linux --armv7l --dir
I hope this helps those who were stuck for a long time like me

@godprogrammer3
Copy link

godprogrammer3 commented Nov 29, 2021

To work properly in RPI4 raspian i used : npm run electron:build -- --linux --armv7l --dir I hope this helps those who were stuck for a long time like me

It worked for me thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants