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

[Bug]: Native Install Dependency Issues #3634

Closed
2 tasks done
weswitt opened this issue Oct 11, 2024 · 1 comment
Closed
2 tasks done

[Bug]: Native Install Dependency Issues #3634

weswitt opened this issue Oct 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@weswitt
Copy link

weswitt commented Oct 11, 2024

Verified issue does not already exist?

  • I have searched and found no existing issue
  • 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'
}

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

@weswitt weswitt added the bug Something isn't working label Oct 11, 2024
@youngcw
Copy link
Member

youngcw commented Oct 18, 2024

Im not sure what would cause this. Maybe reach out on discord for tech support there.

@youngcw youngcw closed this as completed Oct 18, 2024
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