Quasar Upgrade is failing due to npm server error on MAC



  • While trying to upgrade quasar on macOS PC, with quasar upgrade and quasar upgrade --install it is resulting in following error:

      Quasar CLI · Gathering information with yarn...
    
     @quasar/extras: 1.3.2 → Skipping!
       (⚠️  NPM server returned an error, so we cannot detect latest version)
     quasar: 1.1.6 → Skipping!
       (⚠️  NPM server returned an error, so we cannot detect latest version)
     @quasar/app: 1.4.3 → Skipping!
       (⚠️  NPM server returned an error, so we cannot detect latest version)
      Congrats! All Quasar packages are up to date.
    

    Note: I have installed quasar cli with npm, hence yarn package manager is not present.



  • I have exactly the same problem but on Windows 10. I also have installed Quasar with npm (as shown in the docs) and do not have yarn installed.

    Is Quasar working with npm? If not, then why is not this mentioned in the docs?

    thanks



  • I guess there might be some regression going on since @rstoenescu fixed something that seems related in 1.0.0-beta7 - https://github.com/quasarframework/quasar/releases/tag/%40quasar%2Fcli-v1.0.0-beta.7



  • Found the problem - there was an old yarn.lock file in the project dir and the quasar upgrade script checks for its existence in order to decide which packager to use.
    Removed it and now everything works.
    Sorry for the false alarm!


  • Admin

    @ddenev glad that you figured it out


Log in to reply