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
RED.events warning persist.js #11
Comments
Same here, any suggestions / fixes? |
Same here, pls help |
did anyone try a earlier version? I tried Version 1.0.1 - 1.1.1 The same on all versions |
There is a little workaround.
Restart NodeRED and see there is no error any more Pls @DeanCording check your Code THX Nice Greatings |
But this is another info i get: this info comes with or without the above workaround. |
I've done this, error goes away, but it causes the charts to go wrong and become empty. |
@DeanCording pls help |
got the warning too, please fix this with next version! |
same here |
I also ran into this error and confirm that the fix works, so thanks for the workaround! |
Just created a PR ( #12 ) for this issue. |
Thanks, great! Just a check: I see that you replaced "nodes_started" to "flows-started" in the code, although the fix mentioned here replaces this with "flows:started". Is both correct? |
I guess you're right, I mistakenly made my changes based on @Paul-Reed's comment, but now that you mentioned it, previous comments state the same as what you mentioned above. I'll check and update my PR accordingly. But we'll never know if it will ever be merged ;) Edit: Just updated my PR, thanks to @bikeymouse for his/her eagle eyes. 🥇 |
This is not a workaround. This is the fix for the deprecated API usage in the component. You should make a pull request with this fix. |
It has been waiting to be merged since May, 3rd: #12 |
Updates? |
Updated Node-red to 1.2.1, updated all nodes with update message showing.
When I do a deploy I get now always 2 warnings in the debug screen.
"[RED.events] Deprecated use of "nodes-started" event from "/home/pi/.node-red/node_modules/node-red-contrib-persist/persist.js:164:20". Use "flows:started" instead."
The text was updated successfully, but these errors were encountered: