Open temple opened 7 years ago
It seems to be a node issue
http://stackoverflow.com/questions/22603078/syntaxerror-use-of-const-in-strict-mode
And it seems to be a workaround:
http://stackoverflow.com/questions/8191459/how-do-i-update-node-js/19584407#19584407
Thank you for reporting. Will look into this next week!
So, this is caused by the fact that nodejs 0.10 doesn't support const
. I have submitted issues at https://github.com/sindresorhus/figures/issues/22 . I am not sure whether other dependency packages have this problem though.
Meanwhile, why would you use nodejs 0.10? It's so old.
So, the issue I opened is closed. Basically, it's a won't fix there. I am considering to try packing tools like webpack
(not sure whether it works for nodejs modules though). So that, all those upstream issues will be solved automatically.
When executing in Ubuntu 14.04 LTS using legacy node js v0.10.25, it says:
Is there any patch available?