hyperledger-archives / aries-toolbox

Hyperledger Aries

Home Page:https://wiki.hyperledger.org/display/aries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

does not build/run on OSX (M1 => darwin-arm64)

mloepfe opened this issue · comments

I tried to get the toolkit building and running on my M1 MacBookPro without success.

When I clone the repo and run 'yarn install' I get an error message:

HTTPError: Response code 404 (Not Found) for https://github.com/electron/electron/releases/download/v9.4.4/electron-v9.4.4-darwin-arm64.zip

When I change the Version for electron in packages.json to "electron": "^13.0.0" yarn install runs fine.
When I then run yarn run build, it build also fine except that the signing fails. yarn run dev fails.
When I run the built toolkit I only get a white/blank/empty window.

Any ideas how to get this running on Apple-silicon?

Unfortunately, I don't have any leads on this (not an M1 Mac user). I think we've got someone on our team here at Indicio that might be able to spend a bit of time looking into this but I wouldn't count on this being fixed in the near future, unfortunately.

If it is an option for you to upgrade to a newer version of electron (one that supports M1) and you can confirm that it works fine (on 'normal' systems), I could check it out on M1 and if there are Problems, try to find out why.

As of january 2022, this is working fine on M1 Mac.

Thanks for the info @froissant; I suspect this was fixed with our recent upgrade to Electron 12. Closing as fixed!