actions-on-google / gactions

Apache License 2.0
49 stars 8 forks source link

Build for M1 Mac #3

Open bowmanmc opened 2 years ago

bowmanmc commented 2 years ago

On an M1 mac, I ran npm install -g @assistant/gactions and then tried to execute gactions command. Got the error:

Gactions binPath /usr/local/lib/node_modules/@assistant/gactions/bin/gactions-darwin-arm64 not found, exiting with error

simusr2 commented 2 years ago

I resolved renaming /usr/local/lib/node_modules/@assistant/gactions/bin/gactions-darwin-arm64 to /usr/local/lib/node_modules/@assistant/gactions/bin/gactions (first remove/rename old gactions bin)

OriginalJef commented 2 years ago

Similar solutions worked for me. Changed the @assistant/gactions/bin/gactions-darwin-x64 to @assistant/gactions/bin/gactions-darwin-arm64.