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 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.
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 --dir --armv7l --linux deb
Most helpful comment
Work for me:
electron-builder --dir --armv7l --linux deb