Skip to content
Discussion options

You must be logged in to vote

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 run yarn add date-fns. This adds date-fns to package.json, and after that, I can run bin/rails avo:build-assets without error.
Not a long-term solution, but until I install a new version of Avo, this should work. 😄

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@manuelmeurer
Comment options

@Paul-Bob
Comment options

@manuelmeurer
Comment options

@manuelmeurer
Comment options

Answer selected by manuelmeurer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants