Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing symbol? #28

Open
htbrown opened this issue Feb 24, 2019 · 0 comments
Open

Missing symbol? #28

htbrown opened this issue Feb 24, 2019 · 0 comments

Comments

@htbrown
Copy link

htbrown commented Feb 24, 2019

Hey, I'm trying to make an electron app that searches for bluetooth devices as a test to see if I can get it to work, but I get this error when running my code.

dyld: lazy symbol binding failed: Symbol not found: __ZN2v811HandleScope12CreateHandleEPNS_8internal10HeapObjectEPNS1_6ObjectE
  Referenced from: /Volumes/HaydenDrive/Code/Personal/Applications/Bluetooth/node_modules/node-bluetooth/build/Release/BluetoothSerialPort.node
  Expected in: flat namespace

I'm not entirely sure what to do, as I've only just built the package using NPM.
I'm running macOS 10.14.03, using the v4.0 of electron.

Here's my code in the js file linked to my index.html:

    const bl = require('node-bluetooth');
    const device = new bl.DeviceINQ();
    device
        .on('finished',  console.log.bind(console, 'finished'))
        .on('found', function found(address, name){
            let row = deviceTable.insertRow()
            let devName = row.insertCell(0);
            let devMAC = row.insertCell(1);
            devName.innerHTML = name;
            devMAC.innerHTML = address;
        }).scan();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant