I\'m building a project using WebStorm 2016.2.2. I use version 6.6.0 of Node.js. I have set the JavaScript version to ES6, but I get \"unexpected token\" errors for both
es6 does support import and export, node 6 does not support es6 import/export up till now as far as I know.
This question can be helpful: NodeJS plans to support import/export es6 (es2015) modules