-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Inject node doesn't work #4670
Comments
Log from Packages:
|
Running The inject buttons being disabled has been seen occasionally and can sometimes be down to the browser caching old versions of the frontend is files. Please ensure the browser cache is cleared |
Already tested - also new private window, in EDGE, same problem. |
What version of node.js are you using? That suggests you are on an old version that doesn't support the Object.hasOwn api |
Yes you're right. In desperation, I tried all versions, upgrade/downgrade, until I ended up on node.js v14, where at least the basic functioning of my home works. I am convinced that the error is in my old installation and in a lot of unresolved dependencies right within npm. Unfortunately, I didn't have time to completely reinstall everything, including all plugins. |
Current Behavior
First I have dead loop in log, NR restarted. Last thing in log is:
23 Apr 19:29:44 - [error] UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason #<Object> .
I suspected the node-red-contrib-home-assistant-websocket plugin, when I delete it, Nodered does start, I can connect to the web administration, but all the inject nodes are gray and cannot be started.
I tested downgrading the docker image or even changing it because of nodejs. I also tried restoring the data from the previous day, but all to no avail.
During testing, I also turned off HA, which runs on another HW, to exclude influence.
I also tried updating npm to the latest version, I tried "audit fix".
Now I don't know what else to try.
Expected Behavior
Working inject nodes.
Steps To Reproduce
Don't know
Example flow
Environment
The text was updated successfully, but these errors were encountered: