Fails with macOS 10.14 because of XPC
watsonix opened this issue · comments
watson Ξ commented
Recent versions of macOS have problems with XPC which is part of noble.
It seems this has been attempted to be addressed with https://github.com/Timeular/noble-mac
however after I change my dependenceis to:
"dependencies": { "noble-mac": "Timeular/noble-mac" }
and my top line of index.js
to: const noble = require('noble-mac')
I still can't get it to run:
$ node index.js
internal/modules/cjs/loader.js:589
throw err;
^
Error: Cannot find module '../native/noble_mac'
watson Ξ commented
being discussed here: Timeular/noble-mac#13
watson Ξ commented
I reinstalled Node with https://github.com/brock/node-reinstall/ and now my fork is working fine.