question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Native SQLite3 library not found, try installing SQLite3.

See original GitHub issue

import { Database } from “https://deno.land/x/sqlite3@0.4.3/mod.ts”;

// Open a database export const client = new Database(“…/tolol.db”);

info : deno --version deno 1.23.3 (release, x86_64-unknown-linux-gnu) v8 10.4.132.8 typescript 4.7.4

error message :

error: Error: Native SQLite3 library not found, try installing SQLite3. If you have an existing installation, either add it to path or set the DENO_SQLITE_PATH environment variable. at https://deno.land/x/sqlite3@0.4.3/src/ffi.ts:425:17

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
DjDeveloperrcommented, Jul 9, 2022

Do you have SQLite3 library installed on your system?

0reactions
DjDeveloperrcommented, Sep 3, 2022

Readme now explicitly states --allow-env, --allow-ffi and --unstable flags are required. So I’ll be closing this issue for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error installing sqlite3 in node.js - Stack Overflow
Failed at the sqlite3@3.1.8 install script 'node-pre-gyp install --fallback-to-build'. npm ERR! This is most likely a problem with the sqlite3 ...
Read more >
Failed at the sqlite3@5.0.1 install script. · Issue #1424 - GitHub
This is the full error message I am getting when trying to install sqlite3. $ npm i sqlite3. sqlite3@5.0.1 install D:\Lambda\projects\greg\ ...
Read more >
There was an error initializing DB: "SQLite package has not ...
There was an error initializing DB: "SQLite package has not been found installed. Try to install it: npm install sqlite3.
Read more >
better-sqlite3 - npm
The fastest and simplest library for SQLite3 in Node.js. Full transaction support; High performance, efficiency, and safety; Easy-to-use ...
Read more >
configure: error: SQLite3 library not found
I tried both, sudo apt-get install sqlite and building from source but problem persists. Then I tried the following command and it worked....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found