Closed hsource closed 3 years ago
I was trying to build awakened-poe-trade on Mac. Running the binary after yarn electron:serve led to this error:
yarn electron:serve
I realized this was because uiohook-napi had no Mac binaries built, leading node_gyp to not find the required files.
Added code to build for Macs in the bindings.gyp
rm -rf build dist; yarn install; yarn build-ts
yarn add ../uiohook-napi
Awakened POE Trade still doesn't work, but because of other lack of Mac support
Motivation
I was trying to build awakened-poe-trade on Mac. Running the binary after
yarn electron:serve
led to this error:I realized this was because uiohook-napi had no Mac binaries built, leading node_gyp to not find the required files.
Fix
Added code to build for Macs in the bindings.gyp
Testing
rm -rf build dist; yarn install; yarn build-ts
yarn add ../uiohook-napi
Awakened POE Trade still doesn't work, but because of other lack of Mac support