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

    Updating to latest beta-version crash the existing app:

    Help
    2
    3
    221
    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.
    • S
      SharpBCD last edited by

      This is happening to me the 2nd time. On first update from beta-0 to beta-2 it was the same. Back then I deleted the app and regenerate it with quasar cli, moved the code and all was great.
      This time I want to make it work, I can’t re-create the project every time. Any suggestion?
      Note:

      • I use npm.
      • I tried to delete node_modules and install again, no effect.
       ERROR  Failed to compile with 1 errors
      
      
       error  in ./src/router/routes.js
      
      Module parse failed: Unexpected token (8:13)
      You may need an appropriate loader to handle this file type.
      |     path: '',
      |     component: function component() {
      >       return import('./../pages/Index.vue');
      |     }
      |   }]
      
      1 Reply Last reply Reply Quote 0
      • S
        SharpBCD last edited by

        Solved, thanks to Allan Gaunt (EN-GB) on discordapp.
        Solution: remove node_modules folder
        Reinstall using YARN and not NPM!

        Sorry npm, you will no longer be trusted.

        1 Reply Last reply Reply Quote 0
        • M
          Max last edited by

          @SharpBCD consider using yarn for local and npm for globals

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