Question
What is the newest version of Node supported by Ubuntu 16.04?
I need a version that allows ‘let’ declarations. Running with –harmony tags, “use strict” and everything else is still giving me the error:
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
I seem to be stuck with Node 4.2.6. Any work arounds?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×