Open seppelicous opened 3 years ago
This isn't the place for support, this is an issue tracking page.
Well, I installed it and it throws many errors does not work correctly. So I assume it is known that there some dependencies that are not provided in a regular installation of nodered
Okay, lets start different. Here is the log of while I installed the plugin. Some lines are marked with "err". Since I do not receive any registration message, I want to make sure, that everything is everything is installed correctly:
`2021-09-01T04:51:29.500Z Installieren : nodered-contrib-signal-client 2.4.2
2021-09-01T04:51:29.608Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict nodered-contrib-signal-client@2.4.2
2021-09-01T04:51:43.655Z [err] npm
2021-09-01T04:51:43.655Z [err] WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
2021-09-01T04:52:02.604Z [out]
2021-09-01T04:52:02.604Z [out] > bufferutil@4.0.3 install /data/node_modules/bufferutil
2021-09-01T04:52:02.604Z [out] > node-gyp-build
2021-09-01T04:52:02.604Z [out]
2021-09-01T04:52:03.015Z [out]
2021-09-01T04:52:03.015Z [out] > utf-8-validate@5.0.5 install /data/node_modules/utf-8-validate
2021-09-01T04:52:03.015Z [out] > node-gyp-build
2021-09-01T04:52:03.015Z [out]
2021-09-01T04:52:03.251Z [out]
2021-09-01T04:52:03.251Z [out] > node-webcrypto-ossl@1.0.49 install /data/node_modules/node-webcrypto-ossl
2021-09-01T04:52:03.251Z [out] > node-gyp rebuild
2021-09-01T04:52:03.251Z [out]
2021-09-01T04:52:12.293Z [out] make: Entering directory '/data/node_modules/node-webcrypto-ossl/build'
2021-09-01T04:52:12.316Z [out] CXX(target) Release/obj.target/nodessl/src/main.o
2021-09-01T04:52:15.931Z [err] In file included from ../../nan/nan.h:56,
2021-09-01T04:52:15.931Z [err] from ../src/node/../core/common.h:8,
2021-09-01T04:52:15.931Z [err] from ../src/node/common.h:4,
2021-09-01T04:52:15.931Z [err] from ../src/main.cpp:1:
2021-09-01T04:52:15.931Z [err] /usr/src/node-red/.cache/node-gyp/14.17.3/include/node/node.h:758:43: warning: cast between incompatible function types from 'void ()(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void ()(v8::Local~~~~
2021-09-01T04:52:15.931Z [err] ../src/main.cpp:93:1: note: in expansion of macro 'NODE_MODULE'
2021-09-01T04:52:15.931Z [err] 93 | NODE_MODULE(nodessl, InitModule);
2021-09-01T04:52:15.931Z [err] | ^~~
2021-09-01T04:52:17.396Z [out] CXX(target) Release/obj.target/nodessl/src/core/key_exp.o
2021-09-01T04:52:18.757Z [out] CXX(target) Release/obj.target/nodessl/src/core/scoped_ssl.o
2021-09-01T04:52:19.625Z [out] CXX(target) Release/obj.target/nodessl/src/core/logger.o
2021-09-01T04:52:20.378Z [out] CXX(target) Release/obj.target/nodessl/src/core/excep.o
2021-09-01T04:52:21.290Z [out] CXX(target) Release/obj.target/nodessl/src/core/digest.o
2021-09-01T04:52:22.669Z [out] CXX(target) Release/obj.target/nodessl/src/core/bn.o
2021-09-01T04:52:25.270Z [out] CXX(target) Release/obj.target/nodessl/src/rsa/rsa_gen.o
2021-09-01T04:52:27.773Z [out] CXX(target) Release/obj.target/nodessl/src/rsa/rsa_jwk.o
2021-09-01T04:52:30.443Z [out] CXX(target) Release/obj.target/nodessl/src/rsa/rsa_pkcs1.o
2021-09-01T04:52:34.126Z [out] CXX(target) Release/obj.target/nodessl/src/rsa/rsa_oaep.o
2021-09-01T04:52:36.819Z [out] CXX(target) Release/obj.target/nodessl/src/rsa/rsa_pss.o
2021-09-01T04:52:39.967Z [out] CXX(target) Release/obj.target/nodessl/src/ec/ec_gen.o
2021-09-01T04:52:42.575Z [out] CXX(target) Release/obj.target/nodessl/src/ec/ec_dsa.o
2021-09-01T04:52:45.303Z [out] CXX(target) Release/obj.target/nodessl/src/ec/ec_dh.o
2021-09-01T04:52:47.864Z [out] CXX(target) Release/obj.target/nodessl/src/ec/ec_jwk.o
2021-09-01T04:52:50.478Z [out] CXX(target) Release/obj.target/nodessl/src/aes/aes_gen.o
2021-09-01T04:52:53.079Z [out] CXX(target) Release/obj.target/nodessl/src/aes/aes_ecb.o
2021-09-01T04:52:57.166Z [out] CXX(target) Release/obj.target/nodessl/src/aes/aes_cbc.o
2021-09-01T04:52:59.262Z [err] ../src/aes/aes_cbc.cpp: In member function 'Handle<std::cxx11::basic_string
And this is the error I receive, when sending the request sms:
Signal client error: {"name":"HTTPError","code":402,"response":"<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\"/>\n<title>Error 402 Payment Required</title>\n</head>\n<body><h2>HTTP ERROR 402 Payment Required</h2>\n<table>\n<tr><th>URI:</th><td>/v1/accounts/sms/code/+MYPHONENUMBER</td></tr>\n<tr><th>STATUS:</th><td>402</td></tr>\n<tr><th>MESSAGE:</th><td>Payment Required</td></tr>\n<tr><th>SERVLET:</th><td>jersey</td></tr>\n</table>\n\n</body>\n</html>\n"}
You need to follow the instructions for registration with captcha here on github: https://github.com/gausma/nodered-contrib-signal-client#registration-with-captcha
Hi, I am using NodeRed on a Synology NAS with the built in Docker system. Can someone support me how to install the missing packages/dependencies that are needed to run Signal with NodeRed?
Thank you very much!