silverwolf-x/project / errors /invalid-project-dir-casing.mdx
silverwolf-x's picture
download
raw
769 Bytes
---
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)

Xet Storage Details

Size:
769 Bytes
·
Xet hash:
72c42c5082eb3370f80c88e12f4c8f9db54387d15382786f769730adb0ba004b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.