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

Cannot initialize hidapi #1

Open
JanKoudijs opened this issue Dec 18, 2018 · 0 comments
Open

Cannot initialize hidapi #1

JanKoudijs opened this issue Dec 18, 2018 · 0 comments

Comments

@JanKoudijs
Copy link

Hi @dannydulai,

When I try to run the PowerMate extension it throws an error immediately:

bash-4.3# node .
/root/.RoonExtensions/roon-extension-powermate/node_modules/bindings/bindings.js:91
        throw e
        ^

Error: cannot initialize hidapi (hid_init failed)
    at Object.Module._extensions..node (module.js:681:18)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at bindings (/root/.RoonExtensions/roon-extension-powermate/node_modules/bindings/bindings.js:84:48)
    at Object.<anonymous> (/root/.RoonExtensions/roon-extension-powermate/node_modules/node-hid/nodehid.js:5:34)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)

I found another report of this issue, where the suggestion is made to update to a newer version of node-hid. I saw that the repository you forked node-powermate from already has this update. By switching to this node-powermate repository the extensions is running again, but I cannot verify if it works (don't own a powermate).

Maybe you can check if an update of node-hid would be a sensible update.

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