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

    [v0.15.14] build problem using electron

    Framework
    3
    3
    655
    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.
    • A
      Alinex last edited by Alinex

      Building the SPA or PWA works great, but if I build electron I got:

      WARNING in ./node_modules/bindings/bindings.js
      81:22-40 Critical dependency: the request of a dependency is an expression
      @ ./node_modules/bindings/bindings.js
      @ ./node_modules/utf-8-validate/index.js
      @ ./node_modules/ws/lib/validation.js
      @ ./node_modules/ws/lib/receiver.js
      @ ./node_modules/ws/index.js
      @ ./node_modules/engine.io-client/lib/transports/websocket.js
      @ ./node_modules/engine.io-client/lib/transports/index.js
      @ ./node_modules/engine.io-client/lib/socket.js
      @ ./node_modules/engine.io-client/lib/index.js
      @ ./node_modules/socket.io-client/lib/manager.js
      @ ./node_modules/socket.io-client/lib/index.js
      @ ./src/feathers.js
      @ ./src/plugins/feathers.js
      @ ./.quasar/entry.js
      @ multi ./.quasar/entry.js
      
      WARNING in ./node_modules/bindings/bindings.js
      81:43-53 Critical dependency: the request of a dependency is an expression
      @ ./node_modules/bindings/bindings.js
      @ ./node_modules/utf-8-validate/index.js
      @ ./node_modules/ws/lib/validation.js
      @ ./node_modules/ws/lib/receiver.js
      @ ./node_modules/ws/index.js
      @ ./node_modules/engine.io-client/lib/transports/websocket.js
      @ ./node_modules/engine.io-client/lib/transports/index.js
      @ ./node_modules/engine.io-client/lib/socket.js
      @ ./node_modules/engine.io-client/lib/index.js
      @ ./node_modules/socket.io-client/lib/manager.js
      @ ./node_modules/socket.io-client/lib/index.js
      @ ./src/feathers.js
      @ ./src/plugins/feathers.js
      @ ./.quasar/entry.js
      @ multi ./.quasar/entry.js
      
      app:build [SUCCESS] ELECTRON with "mat" theme in "dist/electron-mat/UnPackaged" folder +1ms
      

      What can I do, I already added the following npm modules to my dev dependencies: bufferutil utf-8-validate bindings

      But the warning stays. Althought the build looks successful.

      1 Reply Last reply Reply Quote 0
      • Q
        QuaSam last edited by QuaSam

        I am getting the same thing, even with a newly created project. I went through the windows-build-tools process, but the error message remains. I am getting WARNING in ./node_modules/electron-debug/index.js 96:45-58 Critical dependency: the request of a dependency is an expression @ .src-electron/main-process/electron-main.dev.js
        @ multi ./src-electron/main-process/electron-main.dev.js. I am also running into the problem with a require(‘mssql’) statement: webpack require is not a function. I would appreciate any commentary about these error message. The critical dependency does not stop the program execution but the webpack error stops everything.

        O 1 Reply Last reply Reply Quote 0
        • O
          omgwalt @QuaSam last edited by omgwalt

          @QuaSam I’m getting the same error. Did you ever discover how to repair the error? It occurs because there is no built-in function “require” in js, but I don’t know what the solution is.

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