Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Running:
riot --type typescript test.tag
I got the error:
SyntaxError: Use of const in strict mode.
How to fix?
The problem was that I was using Node version v0.12.7.
v0.12.7
The problem went away when I upgraded to Node v5.0.0.
v5.0.0
(For example, using Homebrew, it would be just a case of brew upgrade node.)
brew upgrade node