Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0170 alpha 1, better-sqlite error #1407

Open
PendingReality opened this issue Dec 23, 2024 · 1 comment
Open

v0170 alpha 1, better-sqlite error #1407

PendingReality opened this issue Dec 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@PendingReality
Copy link

Describe the bug

Following original Agent AI dev school tut, run start after install and build had an issue with the following error.
⛔ ERRORS
Error starting agent for character C-3PO:
{"code":"ERR_DLOPEN_FAILED"}

["⛔ Error: The module '/home/user/dev/myAgent/eliza/node_modules/better-sqlite3/build/Release/better_sqlite3.node'\nwas compiled against a different Node.js version using\nNODE_MODULE_VERSION 108. This version of Node.js requires\nNODE_MODULE_VERSION 131. Please try re-compiling or re-installing\nthe module (for instance, using npm rebuild or npm install)."]

⛔ ERRORS
Error starting agents:
{"code":"ERR_DLOPEN_FAILED"}

To Reproduce
WSL2 approach, ubuntu, following AI Agent Dev School on v0170 alpha 1

Resolved???
By updating better-sqlite3 latest in cd packages/adapter-sqlite dir

@PendingReality PendingReality added the bug Something isn't working label Dec 23, 2024
@flingjie
Copy link

It looks like a node version mismatch, try rebuild better-sqlite3.

pnpm rebuild better-sqlite3

more info

Error starting agents: Error: The module '.../eliza-agents/dv/eliza/node_modules/better-sqlite3/build/Release/better_sqlite3.node'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants