Seemed one of my new blocks was generating incorrect Javascript code, which resulted in this error.
Normally the generated Javascript code should NEVER contain errors, but you never know.
In that case you should see visually that there is a problem.
I have pushed a change to show a red triangle, if the code contains a syntax error:
Would be nice if we could also highlight the error in our (readonly) Javascript error, but seems that Steve has to fix Node-RED first before we can do that.
I had following syntax error in the Node-RED startup log:
Seemed one of my new blocks was generating incorrect Javascript code, which resulted in this error.
Normally the generated Javascript code should NEVER contain errors, but you never know. In that case you should see visually that there is a problem.
I have pushed a change to show a red triangle, if the code contains a syntax error:
Would be nice if we could also highlight the error in our (readonly) Javascript error, but seems that Steve has to fix Node-RED first before we can do that.