eliza
eliza copied to clipboard
v0170 alpha 1, better-sqlite error
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