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

can't use use-wallet library on heroku or netlify #121

Open
azvast opened this issue Aug 19, 2021 · 3 comments
Open

can't use use-wallet library on heroku or netlify #121

azvast opened this issue Aug 19, 2021 · 3 comments

Comments

@azvast
Copy link

azvast commented Aug 19, 2021

Heroku - v2 build log

108 | attribute((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/HID.cc:34:
../src/HID.cc: At global scope:
/app/.cache/node-gyp/14.17.5/include/node/node.h:758:43: warning: cast between incompatible function types from ‘void ()(v8::Localv8::Object)’ to ‘node::addon_register_func’ {aka ‘void ()(v8::Localv8::Object, v8::Localv8::Value, void*)’} [-Wcast-function-type]
758 | (node::addon_register_func) (regfunc), \\n | ^
/app/.cache/node-gyp/14.17.5/include/node/node.h:792:3: note: in expansion of macro ‘NODE_MODULE_X’
792 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
../src/HID.cc:646:3: note: in expansion of macro ‘NODE_MODULE’
646 | NODE_MODULE(HID, init);
| ^~~~~~~~~~~
SOLINK_MODULE(target) Release/obj.target/HID-hidraw.node
/usr/bin/ld: cannot find -lusb-1.0
collect2: error: ld returned 1 exit status
make: *** [HID-hidraw.target.mk:152: Release/obj.target/HID-hidraw.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/tmp/build_f2ea8826/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:400:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Linux 4.4.0-1094-aws
gypmake: Leaving directory '/tmp/build_f2ea8826/node_modules/node-hid/build'
ERR! command "/tmp/build_f2ea8826/.heroku/node/bin/node" "/tmp/build_f2ea8826/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/build_f2ea8826/node_modules/node-hid
gyp ERR! node -v v14.17.5
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok"

@WissenIstNacht
Copy link
Contributor

Hey 👋🏼 🙂

The logs say the build succeeded?

@azvast
Copy link
Author

azvast commented Sep 23, 2021

No, build isn't succeeded.

@ghost
Copy link

ghost commented Oct 29, 2021

Check out system dependencies required by node-hid

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

2 participants