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

    How to make sure Capacitor version in `src-capacitor` and `src` stay the same?

    Help
    1
    1
    127
    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.
    • mesqueeb
      mesqueeb last edited by

      We add capacitor related versions and plugins all in src-capacitor like these:

      @capacitor/android
      @capacitor/cli
      @capacitor/core
      @capacitor/ios
      

      however, when they also need to be included inside the root package.json, otherwise we can’t open the dev server for the browser.

      But I noticed other devs in the team sometimes update the dependencies in one location but not the other, causing different capacitor versions to exist in the root and the src-capacitor locations.

      How can I avoid this?

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