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

    capacitor build

    Framework
    2
    4
    698
    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.
    • O
      olivierph last edited by

      good am,
      something strange with capacitor and cordova (same behavior).
      using quasar 1.51.7 app 2.2.3
      when using quasar dev, its working in android studio.
      the app is ok in dev mode.

      but when i build (quasar build -m capacitor -T android), then i have a white page when deploying.
      In log i can see:
      E/Capacitor: Unable to read file at path public/plugins
      E/Capacitor: Unable to open asset URL: http://localhost/dist/css/app.1e5994b7.css

      its like the build dont include the files ?
      the only file in www is the index with link to …/…/dist/

      its 2 days that i try to find out why but this time, google is not my friend.

      dobbel 1 Reply Last reply Reply Quote 0
      • dobbel
        dobbel @olivierph last edited by

        @olivierph

        try updating to the newest Quasar version:
        https://quasar.dev/quasar-cli/commands-list#upgrade

        quasar upgrade then quasar upgrade --install

        If it not resolves then post a github issue.

        1 Reply Last reply Reply Quote 0
        • O
          olivierph last edited by

          thank for your help.
          everything was up to date…
          I try a new project and its working. so i compare the 2 projects and our projext seems too old.
          I have to change quasar.conf to adjust with the new created project.

          the problem was that the www folder was not sync. there was only index file …
          So If someone get this problem, create a new projext and compare the conf file (it’s maybe too old)

          thanks again

          1 Reply Last reply Reply Quote 0
          • O
            olivierph last edited by

            forget to say. there was jconfig.json file missing with compilerOptions

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