From e98e0f0b1b1f0feb20dd03673cf7d76f2f3c5d08 Mon Sep 17 00:00:00 2001 From: Scarlet Moore Date: Sat, 10 Jan 2026 15:10:32 +1100 Subject: [PATCH] docs: update --- README.md | 23 +++++++++++++++++++++++ docs/guide/troubleshooting.md | 2 ++ 2 files changed, 25 insertions(+) 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 +
+Long path names on Windows installation? + +**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. + +
+
Frontend cannot connect to backend? 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 ` | +| 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 |