-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Comments
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. |
for me it is still relevant but obviously not for others |
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. |
It's relevant to me as well. Is there any solution to this problem? |
Work for me: |
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! [email protected] dist:
electron-builder
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dist script.
But, I have edited the function
archFromString
onnode_modules/builder-util/out/arch.js
(compiled version of arch.ts) so it's returnarmv7l
also for arch namearm
and the app is builded correctly.The text was updated successfully, but these errors were encountered: