Skip to content

DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

docs: update

Scarlet Mooree98e0f0b1b1f
diff --git a/README.md b/README.md
index 452b30882..a104e9f99 100644
--- a/README.md
+++ b/README.md
@@ -1243,6 +1243,29 @@ npm --version # Should show version number
</details>
+<details>
+<summary><b>Long path names on Windows installation?</b></summary>
+
+**Problem**
+
+On Windows, you may encounter errors related to long file paths during installation, such as "The filename or extension is too long" or similar path length issues.
+
+**Cause**
+
+Windows has a default limitation on path lengths (260 characters), which can be exceeded by DeepTutor's nested directory structures and dependencies.
+
+**Solution**
+
+Enable long path support system-wide by running the following command in an Administrator Command Prompt:
+
+```cmd
+reg add "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /v LongPathsEnabled /t REG_DWORD /d 1 /f
+```
+
+After running this command, restart your terminal for the changes to take effect.
+
+</details>
+
<details>
<summary><b>Frontend cannot connect to backend?</b></summary>
diff --git a/docs/guide/troubleshooting.md b/docs/guide/troubleshooting.md
index bd217ef22..cf96b0127 100644
--- a/docs/guide/troubleshooting.md
+++ b/docs/guide/troubleshooting.md
@@ -9,7 +9,9 @@ Quick solutions for common issues.
| Backend fails to start | Check Python ≥ 3.10, verify `.env` config |
| `npm: command not found` | Install Node.js: `conda install -c conda-forge nodejs` |
| Port already in use | Kill process: `lsof -i :8001` → `kill -9 <PID>` |
+| Long path errors on Windows when cloning the repo or installing dependencies | Enable long paths*: Run as admin `reg add "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /v LongPathsEnabled /t REG_DWORD /d 1 /f`, then restart your terminal |
+* Restart your terminal and, if the issue persists, log out and back in (or restart Windows) for the registry change to fully take effect.
## Connection Issues
| Problem | Solution |