Comments (9)
Bumping this- Anyone have any thoughts on the status of bleno-mac on macOS 10.15.2 ?
I tried using this again and I'm still seeing the terminal hang when I try to run bleno service code via node.
from bleno-mac.
I also saw this segmentation fault 11 error when trying to run some bleno related code from a Mac on 10.15.2.
I have since uninstalled and reinstalled bleno-mac, and now when I try to run node service.js
, the terminal just hangs there and prints out nothing until I stop with ctrl-c.
So I can no longer reproduce the segmentation fault 11 issue, but I did see that occur this morning before I uninstalled/reinstalled the package.
from bleno-mac.
+1 having the same error, it's working on 10.14 but it's not working working on 10.15.2
from bleno-mac.
I also had to fork this repository and updated bleno dependency to use the following in package.json:
"bleno": "abandonware/bleno",
Otherwise it won't compile at all with recent node versions.
from bleno-mac.
Hi @kotsaarev, I work at PunchThrough and happen to be the author of that article-
I have not had an opportunity to test bleno-mac yet since this issue was addressed yesterday, but as you've discovered it looks like there is an issue with xpc-connection as well.
I will need to add an update to my article to help anyone trying to use this on the latest macOS. Thanks for sharing the solution you have found.
from bleno-mac.
Bumping this- Anyone have any thoughts on the status of bleno-mac on macOS 10.15.2 ?
I tried using this again and I'm still seeing the terminal hang when I try to run bleno service code via node.
Exactly same here. Before it's seg fault 11 and after I deleted the node_modules and did npm install
it just stuck at bleno - echo
.
from bleno-mac.
I am also getting the segmentation fault on 10.15.4.
from bleno-mac.
Rusty on my obj-c but the fix was straightforward. Starting the bluetooth manager immediately starts firing status events, before the event emitter has been properly initialized. Race condition.
from bleno-mac.
Hello, I came from Punch Through’s article and I tried to use the "bleno-mac" as dependency. It was a fail.
My initial config was
- macOS 10.15.4
- node -v v13.6.0
- Xcode 11.3.1
I tried to use node v10 and v12 also, but it was an issue with xpc-connection
...
../src/XpcConnection.cpp:143:89: error: too few arguments to function call, expected 2,
have 1
...
5 warnings and 1 error generated.
make: *** [Release/obj.target/binding/src/XpcConnection.o] Error 1
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:191:23)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Darwin 19.4.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 /Users/kotsarev/src/bleno/node_modules/xpc-connection
gyp ERR! node -v v10.20.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
...
Also I tried to use @abandonware/bleno, but I got stuck in terminal after run node service.
Finally, this advice was useful to me.
Hopefully, I'll save someone some time.
from bleno-mac.
Related Issues (13)
- Writing multiple values quickly on a characteristic fails HOT 11
- Cannot connect with CBErrorDomain Code=6
- Question: Documentation for adapters
- stateChange is not working on catalina HOT 1
- Incompatible architecture issue on mac m1
- macOS 10.14.2 no services or characteristics being broadcast on Android HOT 5
- install fails to compile HOT 1
- Advertising service UUID not actually being advertised HOT 4
- Unable to Set ArrayBuffer Value for Descriptor HOT 1
- Possible to make the maxValueSize larger?
- does this module support startAdvertising? HOT 1
- Status / Demo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bleno-mac.