Hi n8n community. I’m facing an issue when using the AI Agent node in n8n.
When running the workflow, I get the following error:
Problem running workflow
Could not locate the bindings file. Tried:
→ /usr/local/lib/node_modules/n8n/node_modules/sqlite3/build/node_sqlite3.node
→ /usr/local/lib/node_modules/n8n/node_modules/sqlite3/build/Debug/node_sqlite3.node
→ /usr/local/lib/node_modules/n8n/node_modules/sqlite3/build/Release/node_sqlite3.node
...
The problem is that my n8n setup does not use SQLite at all. I am running n8n with PostgreSQL as the database, but for some reason, the error indicates a missing sqlite3 or better-sqlite3 dependency.
What I’ve tried so far:
• Reinstalled docker build
• Updated to 1.77.3
n8n setup
n8n version: 1.77.3
Database: Postgresql (managed DB on another server)
n8n EXECUTIONS_PROCESS setting: own
Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
I Have a same problem.
n8n version: 1.77.3
postgres database on Azure: 16.4 (Burstable, B1ms, 1 vCores, 2 GiB RAM, 32 GiB storage)
Running n8n via desktop app. (pnpm start)
OP: Windows 11