This question already has an answer here:
I have a problem with being unable to use ES6 features such as import
, export
keywords.
NodeJS throws an unexpected token
error for imports/exports.
I also have issues with lambdas.
NodeJS: v7.10.0
. (I also have tried v8
)
Operating System: Ubuntu 16.04
I only have this issue on my laptop, not my desktop (also running Ubuntu 16.04). Both use NodeJS repo with the following command:
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
via Novalis
No comments:
Post a Comment