Skip to content

Missing symbol? #28

Open
Open

Description

@htbrown

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();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions