Closed FrostyX closed 9 months ago
Build is failing for me with:
log-detective-website-frontend-1 | [:app] Configuring build.
log-detective-website-frontend-1 | [:app] Compiling ...
log-detective-website-frontend-1 | [:app] Build failure:
log-detective-website-frontend-1 | The required namespace "react" is not available, it was required by "reagent/core.cljs".
The app doesn't seem to be running either, is it just me?
Interesting, I got the same actually:
frontend_1 | shadow-cljs - dependencies updated
frontend_1 | shadow-cljs - HTTP server available at http://localhost:3000
frontend_1 | shadow-cljs - server version: 2.26.2 running at http://localhost:9630
frontend_1 | shadow-cljs - nREPL server started on port 3333
frontend_1 | shadow-cljs - watching build :app
frontend_1 | [:app] Configuring build.
frontend_1 | [:app] Compiling ...
frontend_1 | [:app] Build failure:
frontend_1 | The required namespace "react" is not available, it was required by "reagent/core.cljs".
frontend_1 |
The frontend was served but without assets.
@jpodivin can you please try docker-compose build frontend --no-cache
?
I am merging, this is IMHO a step in the right direction. We can iterate on the @jpodivin issue in a follow-up.
Otherwise, we are basically running the
npm install
in root directory. See https://stackoverflow.com/a/65443098/3285282