Skip to content

Fresh Debian Install - dbus errors #20

@diginfo

Description

@diginfo

Just did a new instal on Debian and dbus seems to be throwing errors when using the example start code:

(node:7903) UnhandledPromiseRejectionWarning: Error: No introspectable
    at /usr/share/nodejs/test/node_modules/dbus/lib/bus.js:129:15
(node:7903) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:7903) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

This happens during:

bluetooth.init().then(async ()=>{
  // listen on first bluetooth adapter
  const adapter = await bluetooth.getAdapter('hci0');
  await adapter.StartDiscovery();
  console.log("Discovering");
});

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