Navigation

    Quasar Framework

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. GlutenBoy
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 7
    • Best 1
    • Groups 0

    GlutenBoy

    @GlutenBoy

    1
    Reputation
    1
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    GlutenBoy Follow

    Best posts made by GlutenBoy

    • RE: Error when running npm run dev vs quasar dev (to use qenv)

      it’s not cross-env since I removed qenv and cross-env, put I will create a new app an insert all our extensions until I find the culprit. Although I’m not what will I do at this point… since we probably need that extension.

      posted in CLI
      G
      GlutenBoy

    Latest posts made by GlutenBoy

    • RE: Error when running npm run dev vs quasar dev (to use qenv)

      @Hawkeye64 Yeah you’re right, I actually do have linux running on my workstation (dual boot), but I’m going to run a build on one of our pipeline in DevOps on ubuntu with the npm and see if I get the warnings.

      Mind you even though we get warnings, all seems to be working properly. It’s just bugging me and I don’t want this to come back to haunt us.

      Thx for your help!

      posted in CLI
      G
      GlutenBoy
    • RE: Error when running npm run dev vs quasar dev (to use qenv)

      @Hawkeye64 after more investigating, and cleaning everything up with yarn and using yarn in cmd.exe I now still getting the warning…

      The weird thing is that we never see these warning when running quasar dev.

      The only reason to use yarn run (or npm run) was to use qenv. Maybe I’ll skip that and build our own solution, and keep using ‘quasar dev’

      Maybe there’s a better way to debug these warning, but I didn’t found any solutions yet.

      posted in CLI
      G
      GlutenBoy
    • RE: Error when running npm run dev vs quasar dev (to use qenv)

      Hey @Hawkeye64 ,

      Actually I just did that, it didn’t resolve the problem, but after googling this even more, I found that on windows you get that error in the Powershell terminal but not in the good old cmd.exe terminal… so cmd.exe it is for now.

      Thx

      posted in CLI
      G
      GlutenBoy
    • RE: Error when running npm run dev vs quasar dev (to use qenv)

      it’s not cross-env since I removed qenv and cross-env, put I will create a new app an insert all our extensions until I find the culprit. Although I’m not what will I do at this point… since we probably need that extension.

      posted in CLI
      G
      GlutenBoy
    • RE: Error when running npm run dev vs quasar dev (to use qenv)

      ok but why don’t I see these warning when running quasar dev ?

      posted in CLI
      G
      GlutenBoy
    • RE: Error when running npm run dev vs quasar dev (to use qenv)

      @dobbel Sorry yes these are warning not errors.

      And yes I already did the test without these packages and still get these warnings when running npm run dev vs quasar dev. So I already ruled out these packages as the cause.

      posted in CLI
      G
      GlutenBoy
    • Error when running npm run dev vs quasar dev (to use qenv)

      Hi,

      I installed qenv and cross-env, to use these you need to have different scripts in package.json with your environements: dev, prod, test etc.

      But if I run quasar with:

      npm run dev
      

      vs

      quasar dev
      

      I get those errors:

       warning  in ./node_modules/node-libs-browser/mock/process.js
      
      There are multiple modules with names that only differ in casing.
      This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
      Use equal casing. Compare these module identifiers:
      * C:\dev\GCBO-repos\Kazo\node_modules\@quasar\app\lib\webpack\loader.transform-quasar-imports.js!C:\dev\GCBO-Repos\Kazo\node_modules\node-libs-browser\mock\process.js
          Used by 2 module(s), i. e.
          C:\dev\GCBO-repos\Kazo\node_modules\@quasar\app\lib\webpack\loader.transform-quasar-imports.js!C:\dev\GCBO-Repos\Kazo\node_modules\babel-loader\lib\index.js??ref--2-0!C:\dev\GCBO-Repos\Kazo\node_modules\quasar\dist\quasar.ie.polyfills.js
      * C:\dev\GCBO-repos\Kazo\node_modules\@quasar\app\lib\webpack\loader.transform-quasar-imports.js!C:\dev\GCBO-repos\Kazo\node_modules\node-libs-browser\mock\process.js
          Used by 1 module(s), i. e.
          C:\dev\GCBO-repos\Kazo\node_modules\@quasar\app\lib\webpack\loader.transform-quasar-imports.js!C:\dev\GCBO-repos\Kazo\node_modules\path-browserify\index.js
      
       warning  in ./node_modules/webpack/buildin/global.js
      
      There are multiple modules with names that only differ in casing.
      This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
      Use equal casing. Compare these module identifiers:
      * C:\dev\GCBO-repos\Kazo\node_modules\@quasar\app\lib\webpack\loader.transform-quasar-imports.js!C:\dev\GCBO-Repos\Kazo\node_modules\webpack\buildin\global.js
          Used by 5 module(s), i. e.
          C:\dev\GCBO-repos\Kazo\node_modules\@quasar\app\lib\webpack\loader.transform-quasar-imports.js!C:\dev\GCBO-Repos\Kazo\node_modules\babel-loader\lib\index.js??ref--2-0!C:\dev\GCBO-Repos\Kazo\node_modules\quasar\dist\quasar.ie.polyfills.js
      * C:\dev\GCBO-repos\Kazo\node_modules\@quasar\app\lib\webpack\loader.transform-quasar-imports.js!C:\dev\GCBO-repos\Kazo\node_modules\webpack\buildin\global.js
          Used by 2 module(s), i. e.
          C:\dev\GCBO-repos\Kazo\node_modules\@quasar\app\lib\webpack\loader.transform-quasar-imports.js!C:\dev\GCBO-repos\Kazo\node_modules\sockjs-client\dist\sockjs.js
      
       warning  in ./node_modules/webpack/buildin/module.js
      
      There are multiple modules with names that only differ in casing.
      This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
      Use equal casing. Compare these module identifiers:
      * C:\dev\GCBO-repos\Kazo\node_modules\@quasar\app\lib\webpack\loader.transform-quasar-imports.js!C:\dev\GCBO-Repos\Kazo\node_modules\webpack\buildin\module.js
          Used by 1 module(s), i. e.
          C:\dev\GCBO-repos\Kazo\node_modules\@quasar\app\lib\webpack\loader.transform-quasar-imports.js!C:\dev\GCBO-Repos\Kazo\node_modules\moment\moment.js
      * C:\dev\GCBO-repos\Kazo\node_modules\@quasar\app\lib\webpack\loader.transform-quasar-imports.js!C:\dev\GCBO-repos\Kazo\node_modules\webpack\buildin\module.js
          Used by 1 module(s), i. e.
          C:\dev\GCBO-repos\Kazo\node_modules\@quasar\app\lib\webpack\loader.transform-quasar-imports.js!C:\dev\GCBO-repos\Kazo\node_modules\node-libs-browser\node_modules\punycode\punycode.js
      

      my package.json scripts looks like this:

      "scripts": {
          "dev": "cross-env QENV=development quasar dev",
          "build": "quasar build",
          "start": "node server.js",
          "lint": "eslint --ext .js,.vue src",
          "test": "echo \"See package.json => scripts for available tests.\" && exit 0",
          "test:unit": "jest --updateSnapshot",
          "test:unit:coverage": "jest --coverage",
          "test:unit:watch": "jest --watch",
          "test:unit:watchAll": "jest --watchAll",
          "serve:test:coverage": "quasar serve test/jest/coverage/lcov-report/ --port 8788",
          "concurrently:dev:jest": "concurrently \"quasar dev\" \"jest --watch\""
        },
      

      Any ideas?

      posted in CLI
      G
      GlutenBoy