sidorares/dbus-native

Error locating bindings file

Opened this issue · 0 comments

I am attempting to use the package on a Raspberry Pi running Raspbian and I am getting an exception in node_modules\dbus-native\index.js on line 49, var abs = require('abstract-socket');, the error is

Could not locate the bindings file

This occurs when I call sessionBus on the newly created dbus object:

var dbus = require('dbus-native');
var sessionBus = dbus.sessionBus();

Any offers on what could be causing the issue?

OS details
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Node version - 8.7.0
npm version - 5.4.2

Thanks