You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I will be providing steps how to reproduce the bug (in most cases this will also mean uploading a demo budget file)
What happened?
I'm running AB in docker but thought I'd try to get a native install up and running. I'm seeing the following:
yarn start
Checking if there are any migrations to run for direction "up"...
Rejection: Error: The module '/root/actual-server/node_modules/better-sqlite3/build/Release/better_sqlite3.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 108. This version of Node.js requires
NODE_MODULE_VERSION 109. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
at Module._extensions..node (node:internal/modules/cjs/loader:1452:18)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at bindings (/root/actual-server/node_modules/bindings/bindings.js:112:48)
at new Database (/root/actual-server/node_modules/better-sqlite3/lib/database.js:48:64)
at openDatabase (file:///root/actual-server/src/db.js:57:30)
at getAccountDb (file:///root/actual-server/src/account-db.js:12:18)
at Migration.up (file:///root/actual-server/migrations/1694360479680-create-account-db.js:4:9) {
code: 'ERR_DLOPEN_FAILED'
}
Verified issue does not already exist?
What happened?
I'm running AB in docker but thought I'd try to get a native install up and running. I'm seeing the following:
yarn start
Checking if there are any migrations to run for direction "up"...
Rejection: Error: The module '/root/actual-server/node_modules/better-sqlite3/build/Release/better_sqlite3.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 108. This version of Node.js requires
NODE_MODULE_VERSION 109. Please try re-compiling or re-installing
the module (for instance, using
npm rebuild
ornpm install
).at Module._extensions..node (node:internal/modules/cjs/loader:1452:18)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at bindings (/root/actual-server/node_modules/bindings/bindings.js:112:48)
at new Database (/root/actual-server/node_modules/better-sqlite3/lib/database.js:48:64)
at openDatabase (file:///root/actual-server/src/db.js:57:30)
at getAccountDb (file:///root/actual-server/src/account-db.js:12:18)
at Migration.up (file:///root/actual-server/migrations/1694360479680-create-account-db.js:4:9) {
code: 'ERR_DLOPEN_FAILED'
}
node -v
v18.19.1
npm -v
9.2.0
OS: Ubuntu 22.04
I followed the instructions at https://actualbudget.org/docs/install/local
How can I resolve the better_sqlite3 version problem?
Where are you hosting Actual?
Locally via Yarn
What browsers are you seeing the problem on?
Chrome
Operating System
Linux
The text was updated successfully, but these errors were encountered: