Giter Site home page Giter Site logo

BUG: Cannot find better-sqlite3 about dbgate HOT 2 CLOSED

Meniny avatar Meniny commented on June 2, 2024
BUG: Cannot find better-sqlite3

from dbgate.

Comments (2)

Meniny avatar Meniny commented on June 2, 2024

I installed better-sqlite3 via command npm install -g better-sqlite3, but nothing changed.

Not connected
default
General
Connection type

SQLite
Database file
/home/pi/Documents/git/gitlab.pi/code/shybee/db.sqlite3
Browse
 
Display name
Color
  
Connect failed:  /tmp/.mount_dbgate18dG3c/resources/app.asar.unpacked/node_modules/better-sqlite3/build/Release/better_sqlite3.node: cannot open shared object file: No such file or directory Show detail

Database connection error
Error: /tmp/.mount_dbgate18dG3c/resources/app.asar.unpacked/node_modules/better-sqlite3/build/Release/better_sqlite3.node: cannot open shared object file: No such file or directory
    at process.func [as dlopen] (node:electron/js2c/asar_bundle:5:1812)
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1199:18)
    at Object.func [as .node] (node:electron/js2c/asar_bundle:5:2039)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:829:12)
    at Function.c._load (node:electron/js2c/asar_bundle:5:13343)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at bindings (/tmp/.mount_dbgate18dG3c/resources/app.asar/node_modules/bindings/bindings.js:112:48)
    at new Database (/tmp/.mount_dbgate18dG3c/resources/app.asar/node_modules/better-sqlite3/lib/database.js:48:64)

Error JSON: {
  "code": "ERR_DLOPEN_FAILED"
}

Connection: {
  "server": "***",
  "engine": "sqlite@dbgate-plugin-sqlite",
  "databaseFile": "***"
}

Platform: linux

from dbgate.

ProjectInfinity avatar ProjectInfinity commented on June 2, 2024

Closing this as it is a duplicate issue.

The issue is related to ARM builds. Meaning macOS devices with M1/2/3 chips and devices such as Raspberry Pi. It's something that has been on our radar for a long time but requires some bigger changes to how the application is built to resolve.

from dbgate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.