/
githubmirror
/
next.js
Обзор
Документация
Войти
/
githubmirror
/
next.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
canary
errors/invalid-project-dir-casing.mdx
18 строк
769 B
Delba de Oliveira
docs: Refactor `next` and `create-next-app` CLI pages (#68899)
22 авг 2024, 18:05
Не верифицирован
22 авг 2024, 18:05
1e6d204
Код
Авторство
О чём код?
--- title: Invalid Project Directory Casing --- ## Why This Error Occurred When starting Next.js, the current directory is a different casing than the actual directory on your filesystem. This can cause files to resolve inconsistently. This can occur when using a case-insensitive filesystem. For example, opening PowerShell on Windows navigating to `cd path/to/myproject` instead of `cd path/to/MyProject`. ## Possible Ways to Fix It Ensure the casing for the current working directory matches the actual case of the real directory. Use a terminal that enforces case-sensitivity. ## Useful Links - [Next.js CLI documentation](/docs/pages/api-reference/cli/next) - [Case sensitivity in filesystems](https://en.wikipedia.org/wiki/Case_sensitivity#In_filesystems)