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

errors on installing and on handle #4

Open
platini76 opened this issue Nov 27, 2020 · 0 comments
Open

errors on installing and on handle #4

platini76 opened this issue Nov 27, 2020 · 0 comments

Comments

@platini76
Copy link

homebridge@homebridge:/var/lib/homebridge$ sudo -E -n npm install -g homebridge-wave-plus@0.1.4

usb@1.6.3 install /usr/lib/node_modules/homebridge-wave-plus/node_modules/usb
prebuild-install --verbose || node-gyp rebuild

prebuild-install info begin Prebuild-install version 5.3.6
prebuild-install WARN install EACCES: permission denied, access '/home/homebridge/.npm'
gyp WARN EACCES current user ("nobody") does not have permission to access the dev dir "/home/homebridge/.cache/node-gyp/14.15.1"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/homebridge-wave-plus/node_modules/usb/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/homebridge-wave-plus/node_modules/usb/.node-gyp'
gyp ERR! System Linux 5.4.0-53-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/homebridge-wave-plus/node_modules/usb
gyp ERR! node -v v14.15.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.6.3 (node_modules/homebridge-wave-plus/node_modules/usb):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.6.3 install: prebuild-install --verbose || node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

homebridge-wave-plus@0.1.4
updated 1 package in 25.607s
[27/11/2020, 23:08:05] ERROR LOADING PLUGIN homebridge-wave-plus:
[27/11/2020, 23:08:05] Error: ENODEV, No such device
at Hci.init (/usr/lib/node_modules/homebridge-wave-plus/node_modules/@abandonware/noble/lib/hci-socket/hci.js💯35)
at NobleBindings.init (/usr/lib/node_modules/homebridge-wave-plus/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:78:13)
at Noble.get (/usr/lib/node_modules/homebridge-wave-plus/node_modules/@abandonware/noble/lib/noble.js:72:26)
at new Adapter (/usr/lib/node_modules/homebridge-wave-plus/node_modules/node-airthings-waveplus/adapter.js:17:15)
at Object. (/usr/lib/node_modules/homebridge-wave-plus/node_modules/node-airthings-waveplus/adapter.js:48:18)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)

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