[ASK] Upgrading and installing package in laragon environment


  • | 149 points

    Hello laragoners!
    I have some question regarding upgrade and install new package inside laragon environment.

    1. There is a tutorial about how to add another version of this and that package, and it works, thank you for that.
    2. My question (laragon wamp) how do we upgrade some of package via laragon terminal? I have try to upgrade yarn via terminal but instead of upgrade it inside laragon environment it installed globally outside laragon.
    3. How do we install new version or upgrade vue cli 3 that already installed inside yarn folder?
      Please share your knowledge, any help would be thankful.

  • administrators
    | 123538 points

    @Sastro-Adi-Warno : You should remove the global yarn. Then, you just download a proper yarn release, such as:
    https://github.com/yarnpkg/yarn/releases/download/v1.9.4/yarn-v1.9.4.tar.gz
    and extract to bin\yarn

    After that, installing vue cli 3 is straightforward:

    yarn global add @vue/cli
    

Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.