I'm working on node app (with node v5.4 installed) and can't use ES6 modules.I have the following error when I run my app:import express from 'express'; ^^^^^^ SyntaxError: Unexpected token import What's wrong ? I thought that Node v4+ supports most ES6 features (well, at least ES6 modules since they are very popular and useful)
Submitted January 31, 2016 at 06:54PM by skini26
No comments:
Post a Comment