"Unexpected Token Export" error

28 February 2018 | Quick Fix, Node.js

When trying to utilise the ES2015 export/import statements (aka ES2015 module syntax) in Node.js we are presented with the "Unexpected Token Export" error. There's a reason why this error appears and in this article we'll investigate why this is happening. Read more...