"SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode"
function log() { "use strict"; let i = 1; node.warn(i);}
log();return msg;Newer versions of nodejs fully support let
You said you were going to investigate newer versions of nodejs.
Does this mean you have and found it's an issue in nodejs v6?
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/202fefaf-48de-46a9-ba37-1a58386f32b2%40googlegroups.com.--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
Did you try Node v6.10.x ? as that is the LTS version we support...
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/CACXWFw%2BwCApQjOhK12GLe%2BPgxfj9QVBxKnJ%2BFvvXVwFR%2B%2Bxd0w%40mail.gmail.com.