[Solved] Failed to compile with 1 errors
-
Hi,
i installed quasar today in my ubuntu 17.04.
After “quasar init [template name] <folder-name>” i do, in the project folder, “quasar dev” and i get:error in ./src/App.vue Syntax Error: Unexpected token { @ ./src/main.js 23:15-31 @ multi ./build/hot-reload.js ./src/main.js
This is very strange. I didn’t change anything in the started example.
Any suggestion?
Thank in advance.
-
Solved:
needed to upgrade nodejs:https://github.com/vuejs-templates/webpack-simple/issues/88
http://www.hostingadvice.com/how-to/update-node-js-latest-version/Hope can help.
-
Thanks for also providing a solution. I will add verification into the template to ensure the minimum nodejs and npm versions are installed.