Closed millicandonowrong closed 1 year ago
Hello!
I am having difficulty installing the hatch plugin. I get the error listed below: Currently Using a 2015 Mac book pro / Mac OS Monterey
I did some initial research on here and saw some people needed to install Xcode. Is that needed for this plugin if using a Mac? Also came across a post on stack overflow with the same error, linking to in case that's helpful. https://stackoverflow.com/questions/33337569/ios-foundation-foundation-h-file-not-found-error-inside-custom-framework-i
Appreciate any input here. Thanks!
Erro
In file included from ../lib/mac/src/noble_mac.h:5: ../lib/mac/src/ble_manager.h:10:9: fatal error: 'Foundation/Foundation.h' file not found
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.#] / reify:rxjs: timing reifyNode:node_modules/homebridge-hatch-baby make: *** [Release/obj.target/binding/lib/mac/src/noble_mac.o] Error 1ridge-hatch-baby gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (node:events:520:28) gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) gyp ERR! System Darwin 21.6.0 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/local/lib/node_modules/homebridge-hatch-baby-rest/node_modules/@abandonware/noble gyp ERR! node -v v16.14.0 gyp ERR! node-gyp -v v8.4.1 gyp ERR! not ok npm ERR! code 1 npm ERR! path /usr/local/lib/node_modules/homebridge-hatch-baby-rest/node_modules/@abandonware/noble npm ERR! command failed npm ERR! command sh -c node-gyp rebuild
make
https://github.com/abandonware/noble#os-x has the prerequisite steps you should follow for a Mac install
Hello!
I am having difficulty installing the hatch plugin. I get the error listed below: Currently Using a 2015 Mac book pro / Mac OS Monterey
I did some initial research on here and saw some people needed to install Xcode. Is that needed for this plugin if using a Mac? Also came across a post on stack overflow with the same error, linking to in case that's helpful. https://stackoverflow.com/questions/33337569/ios-foundation-foundation-h-file-not-found-error-inside-custom-framework-i
Appreciate any input here. Thanks!
Erro
In file included from ../lib/mac/src/noble_mac.h:5: ../lib/mac/src/ble_manager.h:10:9: fatal error: 'Foundation/Foundation.h' file not found
import <Foundation/Foundation.h>
1 error generated.#] / reify:rxjs: timing reifyNode:node_modules/homebridge-hatch-baby make: *** [Release/obj.target/binding/lib/mac/src/noble_mac.o] Error 1ridge-hatch-baby gyp ERR! build error gyp ERR! stack Error:
make
failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (node:events:520:28) gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) gyp ERR! System Darwin 21.6.0 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/local/lib/node_modules/homebridge-hatch-baby-rest/node_modules/@abandonware/noble gyp ERR! node -v v16.14.0 gyp ERR! node-gyp -v v8.4.1 gyp ERR! not ok npm ERR! code 1 npm ERR! path /usr/local/lib/node_modules/homebridge-hatch-baby-rest/node_modules/@abandonware/noble npm ERR! command failed npm ERR! command sh -c node-gyp rebuild