hyperledger / aries-askar

Secure storage designed for Hyperledger Aries agents.
Apache License 2.0
58 stars 42 forks source link

Unable to build on RaspberryPI using Node.js #250

Open biagioboi opened 1 month ago

biagioboi commented 1 month ago

I'm trying to include aries-askar in my project by using yarn add @hyperledger/aries-askar-nodejs. As usual it recall the node-pre-gyp to build the SO library, anyway it get error due to the platfrom I'm using.

Screenshot 2024-05-23 alle 18 57 49

The problem is that some Raspberry are equipped with x32 architecture, so the output is simply arm, which is not defined in the architecture object below

Screenshot 2024-05-23 alle 19 21 11

I've tried to manually build the library with rust and correctly build it without problem. If I use the local library everything works because I manually built the library and placed it in the native folder. Can you please add this other architecture in the next release?