If the frontend app has not loaded despite running docker compose up --build
, there is likely an issue with docker using cached files. Check if the node_modules
directory has been created in tt-studio/app/frontend
. If this directory is missing, this usually means that npm (Node Package Manager)
did not successfully run and docker has skipped running this since it used layer caching. To resolve run the following:
docker compose build --no-cache
docker compose up
This error often occurs due to missing or corrupted dependencies. Here's a quick fix:
- Delete
node_modules
andpackage-lock.json
:
rm -rf node_modules package-lock.json
- Reinstall dependencies:
cd frontend
npm i
- Re-run App using docker:
docker compose down
docker compose up --build