n8n - 💡(How to fix) Fix SQLite package has not been found installed when creating a custom node

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

With n8n/node@latest I have created a new node. But when I try to start the dev environment (npm run dev), I get this error: There was an error initializing DB

Code Example

TypeScript Build (watching)
[10:32:07 AM] Starting compilation in watch mode...
[10:32:08 AM] Found 0 errors. Watching for file changes.

n8n Server
Initializing n8n process
There was an error initializing DB
SQLite package has not been found installed. Try to install it: npm install sqlite3 --save
RAW_BUFFERClick to expand / collapse

Bug Description

With n8n/node@latest I have created a new node. But when I try to start the dev environment (npm run dev), I get this error:

TypeScript Build (watching)
[10:32:07 AM] Starting compilation in watch mode...
[10:32:08 AM] Found 0 errors. Watching for file changes.

n8n Server
Initializing n8n process
There was an error initializing DB
SQLite package has not been found installed. Try to install it: npm install sqlite3 --save

How do I resolve this problem? The suggestion to run npm install sqlite3 --save doesn't seems to resolve the problem.

To Reproduce

  1. Create a new package with npm create @n8n/node@latest
  2. Run npm run dev

Expected behavior

Run the dev environment with n8n running including the newly created node.

Debug Info

n8n is not starting, so I can't give this debug information.

Operating System

macOS 26.4.1 (25E253)

n8n Version

Not sure.

Node.js Version

v22.22.2

Database

SQLite (default)

Execution mode

main (default)

Hosting

self hosted

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Run the dev environment with n8n running including the newly created node.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

n8n - 💡(How to fix) Fix SQLite package has not been found installed when creating a custom node