chain-desktop-wallet
chain-desktop-wallet copied to clipboard
Problem: cannot launch in apple m1
in apple m1,
yarn run electron:dev
not working
electron window is empty
to run desktop chain wallet on apple m1 cause: electron aarch64, node-hid is x86_64 so just crash silently calling node-hid, because electron is aarch64, cannot call node-hid.node
quick solution:
arch -x86_64 /bin/bash
yarn
yarn run electron:dev
-
final solution is to make node-hid compiled into aarch64, in yarn build
-
or revert electron back to x86_64 on apple m1. not using arm64 binary, only x86_64 for macosx
both will work