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. jcrosby
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 11
    • Best 0
    • Groups 0

    jcrosby

    @jcrosby

    0
    Reputation
    93
    Profile views
    11
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    jcrosby Follow

    Latest posts made by jcrosby

    • RE: Directory Doesn't Appear in Build

      I also tried adding a blank vue file to the src/pages directory and even that didn’t show up in the app’s source when running the app. What am I missing? This should be something that just works. Its a basic app created by running quasar init app-name. I haven’t added anything extra beyond that except a few lines of code in the Index.vue file to test some things. Do I have to add something to the config file to get it to recognize other files and directories which are added after creating the app?

      posted in CLI
      J
      jcrosby
    • RE: Directory Doesn't Appear in Build

      I have tried placing the device-elements directory in the assets directory as well with the same result. I also tried with it in statics and set the path to statics/device-elements so it ran require("statics/device-elements") and it couldn’t load it there. I also tried to create a plugin and I’m still playing with it but I don’t think a plugin will help us in our current situation. Any thoughts on how to get a directory to show up in the app?

      posted in CLI
      J
      jcrosby
    • Directory Doesn't Appear in Build

      I’m working on an app that uses config files to perform some actions in the app. One part includes giving a path to where certain files are in the app. Our app then uses require(path) to read those files. However it appears that the files are not being added to the build so I can’t load them in our app.

      The following image shows the directory I added called device-elements in the src dir. When we initialize the app we pass in a config file to provide options to the app. The "elementsFile:path" tells the app where to find the 3 files in that new directory. We load it using require(elementsFile) so we can load those files.
      0_1539009895246_Config.png

      However the following 2 screenshots show that the device-elements directory I created does not appear to be in the app at all.
      0_1539010154833_App.png
      0_1539010354911_App2.png

      Any ideas on why the directory I created isn’t in the app and how I can resolve it so I can get our app up and running?

      posted in CLI
      J
      jcrosby
    • RE: Error running on Android: webpage at ip:port could not be loaded because net::ERR_ADDRESS_UNREACHABLE.

      I just tried on ios and I get just a blank page.

      Also if I cd to the src-cordova directory and run cordova run ios or cordova run android I get the starter cordova project.

      So what options should I have for IP addresses when I run quasar dev -m cordova -T android/ios? I’m getting 10.1.2.150 and 169.254.112.9 to choose from. On Android if I choose the first IP I get this error but the app crashes for not finding assets if I choose the 2nd IP. On iOS I get the same issue, blank screen, no matter which IP I choose. However a co-worker has 192.168.0.4 and 169.254.230.96. Our first IP’s are not even close to matching. Based on what my co-worker has I would think my choices should be 192.168.x.x or 169.254.x.x.

      @Luiz I just got word from someone on their discord that the development computer your working on must be on the same network or somehow pingable from your dev computer. My computer was not on the same network so i joined the network but I still cant ping my phone/tablet so I’m going investigate why. I’m guessing this will fix this issue.

      posted in CLI
      J
      jcrosby
    • RE: Error running on Android: webpage at ip:port could not be loaded because net::ERR_ADDRESS_UNREACHABLE.

      I have updated and tried again and still the same problem. Quasar version 0.17.18, node version 8.12.0, cordova version 8.0.0 and npm 6.4.1. Are there any know problems between certain versions of these or other modules? Or maybe am I missing a step somewhere? Any ideas will be helpful.

      posted in CLI
      J
      jcrosby
    • RE: Error running on Android: webpage at ip:port could not be loaded because net::ERR_ADDRESS_UNREACHABLE.

      Quasar version 0.17.17, node version 8.9.4 and cordova 8.0.0.

      posted in CLI
      J
      jcrosby
    • Error running on Android: webpage at ip:port could not be loaded because net::ERR_ADDRESS_UNREACHABLE.

      I am learning quasar and I created a new project using quasar init name. I then move into the new project root directory and ran quasar mode -a cordova to add a cordova project. I cd to src-cordova and run cordova platform add android and cordova requirements. No errors on the requirements check. I go back to the project root and run quasar dev -m cordova -T android. Its results in a empty page that says "webpage at ip:port could not be loaded because net::ERR_ADDRESS_UNREACHABLE. Running quasar dev works fine and quasar dev -m electron works as well. What am I missing to get this working on Android?

      posted in CLI
      J
      jcrosby