Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.03 KB

FAQ.md

File metadata and controls

41 lines (26 loc) · 1.03 KB

Frequently Asked Questions

Table of Contents

  1. Frontend Does Not Load
  2. Module not found

Frontend Does Not Load

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

Module not found error

This error often occurs due to missing or corrupted dependencies. Here's a quick fix:

  1. Delete node_modules and package-lock.json:
rm -rf node_modules package-lock.json
  1. Reinstall dependencies:
cd frontend
npm i
  1. Re-run App using docker:
docker compose down
docker compose up --build