abandonware / noble

A Node.js BLE (Bluetooth Low Energy) central module : Community maintained
https://libraries.io/npm/@abandonware%2Fnoble
MIT License
538 stars 162 forks source link

"No native build was found" for M2 running OSX? #316

Closed AlexMakiJokela closed 11 months ago

AlexMakiJokela commented 11 months ago

Trying to import via yarn add @abandonware/noble etc and then const noble = require('@abandonware/noble'), getting:

Error: No native build was found for platform=darwin arch=arm64 runtime=node abi=115 uv=1 armv=8 libc=glibc node=20.8.1

AlexMakiJokela commented 11 months ago

Resolved by using npm install instead