Compilation errors with npm run dev
flaird opened this issue · 3 comments
flaird commented
I'm getting Syntax error for the spread operator after installing and running npm run dev
. After installing the "babel-plugin-transform-object-rest-spread" I'm now getting Unexpected token error for the import statements for the component imports.
What am I doing wrong?
ais-one commented
what version of nodeJS are you using?
ais-one commented
there is one more plugin you need to add for handling "import", please see my article
Search for the text... Babel polyfill dependencies, for using import/export and async/await
It would be best if you used NodeJS 8 or better...
ais-one commented
closing due to no further comment