We've moved discussions to Discord

Can't get "docker-compose up" to cooperate with fresh clone

Mike Kelly
I pulled down a fresh copy from master and ran docker-compose up.  All the containers start up fine but once I make my first request I get this lovely 500 error.

web_1    | Started GET "/jumpstart/?welcome=true" for 192.168.96.1 at 2021-04-16 02:05:00 +0000
web_1    | Processing by Jumpstart::AdminController#show as HTML
web_1    |   Parameters: {"welcome"=>"true"}
web_1    |   Rendering layout lib/jumpstart/app/views/layouts/jumpstart/application.html.erb
web_1    |   Rendering lib/jumpstart/app/views/jumpstart/admin/show.html.erb within layouts/jumpstart/application
web_1    |   Rendered lib/jumpstart/app/views/jumpstart/admin/show.html.erb within layouts/jumpstart/application (Duration: 1190.0ms | Allocations: 59368)
web_1    |   Rendered layout lib/jumpstart/app/views/layouts/jumpstart/application.html.erb (Duration: 1193.8ms | Allocations: 59433)
web_1    | Completed 500 Internal Server Error in 1202ms (ActiveRecord: 0.0ms | Allocations: 59991)
web_1    | 
web_1    | 
web_1    |   
web_1    | ActionView::Template::Error (Error: File to import not found or unreadable: trix/dist/trix.
web_1    |         on line 29:1 of app/assets/stylesheets/administrate/application.scss
web_1    | >> @import "trix/dist/trix";
web_1    | 
web_1    |    ^
web_1    | ):
web_1    |   
web_1    | app/assets/stylesheets/administrate/application.scss:29

Most of my experience is with api-only so I'm usually not serving assets.  Am I missing a step needed to make the assets available?
Robert Graff
I'm getting this too.  Fresh copy running on docker.

Did you figure it out?  Mike Kelly  
Robert Graff
Fixed this by running `yarn install` locally.
Notifications
You’re not receiving notifications from this thread.