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 thebun.lock file at the root of your repository (if it exists):
2. Remove all node_modules folders
Use npkill to find and remove all node_modules directories:
- In the
npkillinterface, select and delete allnode_modulesfolders found in your repo.
3. Reinstall dependencies
Install all required dependencies using bun: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.