Closed playerx closed 2 years ago
Hello @playerx !
Seems that there is no binary for M1 chips. For that case, @hirosystems/stacks-devnet-js
should be compiled from source.
Have you tried to clone clarinet
repo and installing @hirosystems/stacks-devnet-js
from there? That might be a workaround.
$ git clone git@github.com:hirosystems/clarinet.git --recurse-submodules
$ cd clarinet/node-bindings && npm install
@lgalabru what you think in adding a step before the install
to check the system architecture? And from there proceed with the binary download or the installation from the source.
Good catch, thanks @playerx @csgui. As of today, generating a M1 build via a Github action requires a bunch of hacks. We should definitely start a manual build if a M1 arch is detected + adequate rust toolchain is available on the machine. A good temporary workaround is too build a lib on a M1 machine and upload it manually (step that I just completed). Will update this issue once we have a process in place.
Here is the error message:
full log: