-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
NodeJS 12 - not compatible #144
Comments
Looks like modbus node doesn't work with node-red 1.0.0. It shows "Active" state but without any output from the node. (node-red 1.0.0, nodeJS v10) |
Same with me. I try with Node-red 1.0.0 and Node JS v10 I get error if i start node-RED with console (i not remember the error message, i switch back to a previous version) Somebody able to paste it? |
@racer77rus and @vampywiz17 correct. I stopped contributing to Node-RED for now. I have to write my master thesis first. |
Sponsors and interested collaborators are welcome https://contact.bianco-royal.com/ |
|
I'm wondering if this issue title is slightly off; I think that Also, is it true that |
@kpm-at-hfi yes, I think the problem is related to the fact that Node-RED 1.0.x is fully asynchronous https://nodered.org/blog/2019/09/30/version-1-0-released#asynchronous-message-passing and is now necessary to andle promises https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise |
Thanks @fabiomoli ... yeah, I see now that Node-RED 0.20.8 + Node.js 10 + this module are fine. I've been kind of fixated on wanting to be on Node-RED 1.0, so wasn't thinking outside of that box. FWIW I was able to get my company to sponsor a little bit relating to this issue... if others might be able to do that, there's a Sponsor link up top of this page. That might help. :) |
It seems that the module works fine with nodejs 10 and node-red 1.0.2. |
@racer77rus interedsting... what do you mean working? Are you able to communicate with modbus devices? Ethernet or serial? FWIW, I'm definitely seeing the |
In the blog post that @fabiomoli noted above, there's an immediately depreciated So that could be a short term fix for those who might need something now. |
Good news. I upgraded my system to the following: |
Upon reading @trenty27's comment, I redeployed the same code removing the
This is a custom Docker build created using https://github.com/node-red/node-red-docker/tree/master/docker-custom I'm flummoxed. |
All early release testers could help to test here. You could test with install cmd like: into Node-RED or into Global NPM |
Node-RED v1.x since v5.1.0 |
next step to test more with v5.2.0 |
Just a quick note that this has been working for me in initial testing. I'll be seeing this module in action more over the next two weeks and will let you know how it goes. Thanks for working this, @biancode! |
Just a question, will there any further release for Modbus(v5.3.0?) to support Node.Js 12 and Node-RED 1.0.3. If yes, by when it is planned to be released? currently, I see that Modbus v5.2.0 is not building with the above combination |
Please, test v5.4.0 and open a new issue information if the problem with Nodejs v12 or v13 is not fixed. |
I'm submitting a ... (check one with "x")
Feature
What is the motivation / use case for changing the behavior?
node-red version: ``
v1.x
Node: (min. 6.x)
node --version
= 12The text was updated successfully, but these errors were encountered: