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] Can't update quasar-cli

    CLI
    2
    3
    2423
    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.
    • A
      Axi last edited by Shone

      I’ve tried a lot, but nothing works.
      Running windows 10
      node version: v9.8.0
      npm version: 5.6.0
      vue-cli version: 2.8.2
      everytime I try to run “npm i -g quasar-cli” it seems to work.
      output:
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\quasar-cli\node_modules\fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”})

      • quasar-cli@0.15.12

      if I do “quasar version”:
      Quasar CLI v0.6.4
      Update available 0.6.4 → 0.15.12 │
      Run npm i -g quasar-cli to update

      I deleted all appData/Roaming/npm and appData/Roaming/npm-cache. For my user and for admin-user. But my console recognize quasar as a command! Why? I’ve totally removed it and restarted the machine!!

      On another machine I’ve installed a starter-Kit for Quasar and everything works fine if I do “quasar dev”.
      On this machine if I type “quasar dev” for the same starter-kit: npm ERR! missing script: dev and the “update available” message.

      Please help!
      thx
      ©a-x-i

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

        delete your complete node installation and remove the node_modules folder and the package-lock file in your project!

        then install the latest LTS version of node for windows: https://nodejs.org/en/

        then do fresh install of npm -i g quasar-cli . and run npm install in your project.

        cheers max

        1 Reply Last reply Reply Quote 1
        • A
          Axi last edited by

          Thank you max, that did the trick.
          I didn’t want to completely remove node because of another app. I thought this would have some sideeffects. But the app runs properly!
          Thank you again for you help!
          greets from Tyrol (Austria)
          ©a-x-i

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