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

UnhandledPromiseRejectionWarning: Error: cannot open device with path /dev/hidraw2 #10

Open
patvdleer opened this issue Jan 14, 2020 · 0 comments

Comments

@patvdleer
Copy link

patvdleer commented Jan 14, 2020

$ npm start

> [email protected] start /home/patrick/git/solo/solo-desktop
> cross-env ELECTRON_IS_DEV=1 gulp default

[13:51:32] Using gulpfile ~/git/solo/solo-desktop/gulpfile.js
[13:51:32] Starting 'default'...
[13:51:32] Starting 'start'...
[13:51:32] Starting 'watch'...
[13:51:32] Starting 'build'...
[13:51:32] Starting 'copy'...
[13:51:32] Finished 'watch' after 30 ms
[13:51:32] Finished 'copy' after 45 ms
[13:51:32] Starting 'html'...
[13:51:32] Finished 'html' after 5.52 ms
[13:51:32] Starting 'css'...
[13:51:33] Finished 'css' after 971 ms
[13:51:33] Starting 'js'...
[13:51:37] Finished 'js' after 4.1 s
[13:51:37] Finished 'build' after 5.14 s
[13:51:37] Starting '<anonymous>'...
Running in development
list
device 0 {
  vendorId: 1133,
  productId: 49286,
  path: '/dev/hidraw0',
  serialNumber: 'XXX',
  manufacturer: 'Logitech',
  product: 'Logitech G903 Wired/Wireless Gaming Mouse',
  release: 1792,
  interface: 0
}
device 1 {
  vendorId: 1133,
  productId: 49286,
  path: '/dev/hidraw1',
  serialNumber: 'XXX',
  manufacturer: 'Logitech',
  product: 'Logitech G903 Wired/Wireless Gaming Mouse',
  release: 1792,
  interface: 1
}
reply to  list
list
device 0 {
  vendorId: 1133,
  productId: 49286,
  path: '/dev/hidraw0',
  serialNumber: 'XXX',
  manufacturer: 'Logitech',
  product: 'Logitech G903 Wired/Wireless Gaming Mouse',
  release: 1792,
  interface: 0
}
device 1 {
  vendorId: 1133,
  productId: 49286,
  path: '/dev/hidraw1',
  serialNumber: 'XXX',
  manufacturer: 'Logitech',
  product: 'Logitech G903 Wired/Wireless Gaming Mouse',
  release: 1792,
  interface: 1
}
reply to  list
list
device 0 {
  vendorId: 1155,
  productId: 41674,
  path: '/dev/hidraw2',
  serialNumber: 'XXX',
  manufacturer: 'SoloKeys',
  product: 'Solo 3.0.0',
  release: 256,
  interface: 0
}
device 1 {
  vendorId: 1133,
  productId: 49286,
  path: '/dev/hidraw0',
  serialNumber: 'XXX',
  manufacturer: 'Logitech',
  product: 'Logitech G903 Wired/Wireless Gaming Mouse',
  release: 1792,
  interface: 0
}
device 2 {
  vendorId: 1133,
  productId: 49286,
  path: '/dev/hidraw1',
  serialNumber: 'XXX',
  manufacturer: 'Logitech',
  product: 'Logitech G903 Wired/Wireless Gaming Mouse',
  release: 1792,
  interface: 1
}
(node:27313) UnhandledPromiseRejectionWarning: Error: cannot open device with path /dev/hidraw2
    at new HID (/home/patrick/git/solo/solo-desktop/node_modules/node-hid/nodehid.js:49:17)
    at Object.open (/home/patrick/git/solo/solo-desktop/app/hid.js:305:15)
    at _callee$ (/home/patrick/git/solo/solo-desktop/app/routes.js:112:25)
    at tryCatch (/home/patrick/git/solo/solo-desktop/node_modules/regenerator-runtime/runtime.js:45:40)
    at Generator.invoke [as _invoke] (/home/patrick/git/solo/solo-desktop/node_modules/regenerator-runtime/runtime.js:271:22)
    at Generator.prototype.<computed> [as next] (/home/patrick/git/solo/solo-desktop/node_modules/regenerator-runtime/runtime.js:97:21)
    at asyncGeneratorStep (/home/patrick/git/solo/solo-desktop/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
    at _next (/home/patrick/git/solo/solo-desktop/node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
    at /home/patrick/git/solo/solo-desktop/node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
    at new Promise (<anonymous>)
(node:27313) UnhandledPromiseRejectionWarning: Error: cannot open device with path /dev/hidraw2
    at new HID (/home/patrick/git/solo/solo-desktop/node_modules/node-hid/nodehid.js:49:17)
    at Object.open (/home/patrick/git/solo/solo-desktop/app/hid.js:305:15)
    at _callee$ (/home/patrick/git/solo/solo-desktop/app/routes.js:112:25)
    at tryCatch (/home/patrick/git/solo/solo-desktop/node_modules/regenerator-runtime/runtime.js:45:40)
    at Generator.invoke [as _invoke] (/home/patrick/git/solo/solo-desktop/node_modules/regenerator-runtime/runtime.js:271:22)
    at Generator.prototype.<computed> [as next] (/home/patrick/git/solo/solo-desktop/node_modules/regenerator-runtime/runtime.js:97:21)
    at asyncGeneratorStep (/home/patrick/git/solo/solo-desktop/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
    at _next (/home/patrick/git/solo/solo-desktop/node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
    at /home/patrick/git/solo/solo-desktop/node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
    at new Promise (<anonymous>)
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