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
    1. Home
    2. yhu420
    Y
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 5
    • Best 1
    • Groups 0

    yhu420

    @yhu420

    1
    Reputation
    2
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    yhu420 Follow

    Best posts made by yhu420

    • RE: How to get process.env.GTM in index.template.html?

      As an update for those wondering, I got it working simply using <%= process.env.GOOGLE_CLIENT_ID %>

      posted in Help
      Y
      yhu420

    Latest posts made by yhu420

    • RE: Set capacitor's default server URL?

      Thank you for pointing this out. Since no solution exist yet, I’ll open a github issue about this. Thank you for your input.

      posted in Help
      Y
      yhu420
    • Set capacitor's default server URL?

      Here is my configuration (hotspotdev.me is a hosts domain aliased to 127.0.0.1), for the devServer object in my quasar.conf.js:

      devServer: {
            https: false,
            port: 8080,
            //host: 'hotspotdev.me'
      }
      

      I can access my dev server well in my local network. The capacitor app launches great, I can even edit my assets/capacitor.config.json to:

        "server": {
          "url": "http://hotspotdev.me:8080" // previously here: my local IP
        }
      

      However, if I uncomment the host line, I can’t access the dev server from my local network.

      devServer: {
            https: false,
            port: 8080,
            host: 'hotspotdev.me'
      }
      

      The capacitor config file is seems to use this host value for the capacitor.config.json's server.url value, thus it is already set to hotspotdev.me:8080. However, I can’t connect anymore (connection refused).

      Is there a way to set a default server.url value for Capacitor, while not having to edit the host of my dev server? Is there another way to tackle this issue? Thank you.

      posted in Help
      Y
      yhu420
    • RE: How to get process.env.GTM in index.template.html?

      As an update for those wondering, I got it working simply using <%= process.env.GOOGLE_CLIENT_ID %>

      posted in Help
      Y
      yhu420
    • RE: "This relative module was not found" when using a Capacitor plugin

      Thank you very much @metalsadman! That’s not something I could have found myself.

      I’m running into ssl errors now but I’ll save that for another topic. Thanks again!

      posted in Help
      Y
      yhu420
    • "This relative module was not found" when using a Capacitor plugin

      I’m building a Quasar app, and would like to use the popular codetrix-studio CapacitorGoogleAuth within my app. I’ll save you a click, here is the NPMjs page. I had a great experience with this plugin in the past, but now I’m stuck with an error:

       ERROR  Failed to compile with 1 errors                                                                                                                                                                                        
      This relative module was not found:
      * ../../../../../capacitor.config.json in ./node_modules/@codetrix-studio/capacitor-google-auth/dist/esm/web.js
      

      I’m running my dev server from my project root (here, the ‘client’ folder):
      image

      I found the culprit: this import causes the error:
      import '@codetrix-studio/capacitor-google-auth'

      The app can compile if I remove this import, but then the plugin won’t work.

      I tried restarting the server, removing my node_modules, with no effect, but also deleting the src-capacitor folder and starting over.

      Nothing really works, the error is not wrong though, the file does not exist (capacitor.config.json should be in src-capacitor and not project root afaik).

      If this error is not linked to Quasar, can you tell me where I can find some help?

      Thank you

      posted in Help
      Y
      yhu420