No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    [Solved] Failed to compile with 1 errors

    Starter Kits
    2
    3
    2504
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cklinx last edited by cklinx

      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.

      1 Reply Last reply Reply Quote 0
      • C
        cklinx last edited by

        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.

        1 Reply Last reply Reply Quote 1
        • rstoenescu
          rstoenescu Admin last edited by

          Thanks for also providing a solution. I will add verification into the template to ensure the minimum nodejs and npm versions are installed.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post