Skip to content
This repository was archived by the owner on Jul 1, 2026. It is now read-only.
This repository was archived by the owner on Jul 1, 2026. It is now read-only.

Uncaught TypeError: Cannot read property '_handle' of undefined  #1280

Closed

Description

@vahost

I've been trying to install your plugin in Windows 10 without success within a Quasar/Vue setup.

After playing around with it a bit, I've commented everything out except the first line:

var sqlite3 = require('sqlite3').verbose();

In Inspect I'm getting the following error:

Uncaught TypeError: Cannot read property '_handle' of undefined
at eval (index.js?2f37:3)
at Array.forEach ()
at module.exports (index.js?2f37:2)
at Object.eval (log.js?8c68:11)
at eval (log.js:311)
at Object../node_modules/npmlog/log.js (vendor.js:11168)
at webpack_require (app.js:791)
at fn (app.js:151)
at Object.eval (node-pre-gyp.js?ace6:16)
at eval (node-pre-gyp.js:205)

Additionally, I'm getting a warning when I start up my dev server:

warning in ./node_modules/sqlite3/lib/sqlite3.js

Critical dependency: the request of a dependency is an expression

I'm also getting warnings about node-pre-gyp after that, but I'm pretty sure they all stem from the above warning. I do have node-pre-gyp installed with the latest version.

Activity

  1. kewde commented on Feb 25, 2020

    @kewde
    Collaborator

    It's likely just a webpack problem, we have an issue for this.
    #1268

  2. doamatto commented on Jun 20, 2020

    @doamatto

    @kewde Since #1268 was merged, this could be closed, no?

  3. cattox commented on Dec 5, 2020

    @cattox

    @doamatto or @vahost I just stepped on this same issue. Can you state exactly what I have to do to solve it? Exclude some dependency on webpack? I'm currently not using it.. do I need to?

  4. doamatto commented on Dec 5, 2020

    @doamatto

    @doamatto or @vahost I just stepped on this same issue. Can you state exactly what I have to do to solve it? Exclude some dependency on webpack? I'm currently not using it.. do I need to?

    You shoyld really make a new issue, but make sure you're using the latest version

  5. cattox commented on Dec 5, 2020

    @cattox

    Thank you for the reply. I didn't want to add noise to the project. I believe I just need some information on a already solved issue (but I can create a new issue if you prefer). I'm using 5.0.0. This is the latest version isn't it?

  6. BeknazarBektashov commented on Dec 28, 2020

    @BeknazarBektashov

    Thank you for the reply. I didn't want to add noise to the project. I believe I just need some information on a already solved issue (but I can create a new issue if you prefer). I'm using 5.0.0. This is the latest version isn't it?

    Hello @cattox, have you solved this problem? If so, how? I read all the comments above, but I still don't understand how to solve this problem

  7. cattox commented on Dec 31, 2020

    @cattox

    Thank you for the reply. I didn't want to add noise to the project. I believe I just need some information on a already solved issue (but I can create a new issue if you prefer). I'm using 5.0.0. This is the latest version isn't it?

    Hello @cattox, have you solved this problem? If so, how? I read all the comments above, but I still don't understand how to solve this problem

    Hi Beknazar2003. I was using Node 15 which is not supported by sqlite. Moved to Node 14, and it seems that it solved the problem, but I didn't have the time to check it properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions