-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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]: Cannot build [email protected] on macOS/Arch Linux #3946
Comments
I can confirm this build problem on Sonoma. I was trying to update my helper scripts and hit this same issue. |
I can confirm the same problem building on arch linux |
I can confirm the same problem building on MacOS sequoia |
try yarn rebuild I have had several problems with better-sqlite3 last month on another project that was solved by rebuilding it |
From the log mentioned in issue, I can see that node@23 is being used.
The actual Budget is built using Node@18, if I’m not mistaken. If you are using Homebrew, try downgrading your Node version: In my case, I tried with Node 20, and it seems to be working well:
|
This issue is due to the version of
Edit: It looks like version 25.1.0 fixed this issue. |
|
Verified issue does not already exist?
What happened?
I have been unable to build the
better-sqlite3@npm:9.6.0
dependency as required byyarn install
, I believe since I upgraded to MacOS Sequoia.The initial problem (a missing
climits
file) I had was resolved by reinstalling developer tools, but this revealed a new problem:yarn install
log, truncated to the issue:The contents of
/private/var/folders/1g/qjgtwn9967j9t7fltdr29vbr0000gp/T/xfs-c2f6d1ae/build.log
Some cursory Googling indicates that this may be related to recent distributions of C++ removing a long-deprecated function signature:
WiseLibs/better-sqlite3#1225
I was able to resolve the issue locally by bumping the dependency to latest version:
actual-server
seems to run without issue on this newer version.Where are you hosting Actual?
Locally via Yarn
What browsers are you seeing the problem on?
Other
Operating System
Mac OSX
The text was updated successfully, but these errors were encountered: