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

unable to build on raspberry pi 4: Unsupported arch arm #4279

Closed
sbarex opened this issue Sep 30, 2019 · 5 comments
Closed

unable to build on raspberry pi 4: Unsupported arch arm #4279

sbarex opened this issue Sep 30, 2019 · 5 comments
Labels

Comments

@sbarex
Copy link

sbarex commented Sep 30, 2019

electron-builder version 21.2.0

target: linux on raspberry pi 4 arm board

When building the process halt with this error:

⨯ Unsupported arch arm stackTrace=
Error: Unsupported arch arm
at archFromString (/home/pi/electron/node_modules/builder-util/src/arch.ts:43:13)
at computeArchToTargetNamesMap (/home/pi/electron/node_modules/app-builder-lib/src/targets/targetFactory.ts:43:20)
at Packager.doBuild (/home/pi/electron/node_modules/app-builder-lib/src/packager.ts:422:41)
at Packager._build (/home/pi/electron/node_modules/app-builder-lib/src/packager.ts:366:57)
at Packager.build (/home/pi/electron/node_modules/app-builder-lib/src/packager.ts:330:12)
at executeFinally (/home/pi/electron/node_modules/builder-util/src/promise.ts:12:14)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! video_player@1.0.0 dist: electron-builder
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the video_player@1.0.0 dist script.

But, I have edited the function archFromString on node_modules/builder-util/out/arch.js (compiled version of arch.ts) so it's return armv7l also for arch name arm and the app is builded correctly.

@stale
Copy link

stale bot commented Nov 29, 2019

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the backlog label Nov 29, 2019
@sbarex
Copy link
Author

sbarex commented Nov 29, 2019

for me it is still relevant but obviously not for others

@stale
Copy link

stale bot commented Jan 28, 2020

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the backlog label Jan 28, 2020
@stale stale bot closed this as completed Feb 4, 2020
@kuntalakrishna
Copy link

It's relevant to me as well. Is there any solution to this problem?

@ptkdev
Copy link

ptkdev commented Mar 27, 2020

Work for me:
electron-builder --dir --armv7l --linux deb

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

No branches or pull requests

3 participants