This guide helps you reset your Tuturuuu repository to a clean state, which is useful if you encounter dependency issues or want to ensure a fresh development environment.

Prerequisites

  • Ensure you have bun installed (version 1.0.0 or higher recommended).
  • Update bun to the latest version for best compatibility.

Steps to Clean Your Clone

1. Delete the lockfile

Remove the bun.lock file at the root of your repository (if it exists):
rm bun.lock

2. Remove all node_modules folders

Use npkill to find and remove all node_modules directories:
bunx npkill
  • In the npkill interface, select and delete all node_modules folders found in your repo.
If you don’t have npkill installed, bunx will download and run it automatically.

3. Reinstall dependencies

Install all required dependencies using bun:
bun i
This will install fresh dependencies for all apps and packages in the monorepo.
After completing these steps, your repository should be in a clean state. You can now continue with the usual development workflow as described in Development.

Troubleshooting

  • If you still encounter issues, try restarting your IDE or terminal.
  • Make sure your bun version is up to date: bun upgrade.
  • If problems persist, check the Development guide or ask for help in the project discussions.