avo:build-assets fails with v3.24.1
#4067
Answered
by
manuelmeurer
manuelmeurer
asked this question in
Help
|
It seems like I use Avo from Github: When my branch was on v3.23.1, With v3.24.1., it fails: Unfortunately, running with |
Answered by
manuelmeurer
Oct 28, 2025
Replies: 1 comment 12 replies
|
It didn't have anything to do with the new version after all, the issue was that for some reason, the |
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok, on another server building the assets works fine, so it must be something going on with the server that it fails on.
It had bun installed, which I thought might have something to do with the error, but after uninstalling bun, it still appears.
What solved it was when I switch to the gem's directory (
~/my_app/shared/bundle/ruby/3.4.0/bundler/gems/avo-78ceda00b809) and runyarn add date-fns. This adds date-fns to package.json, and after that, I can runbin/rails avo:build-assetswithout error.Not a long-term solution, but until I install a new version of Avo, this should work. 😄