Skip to content

Commit d209a1b

Browse files
Copilotsapphi-redbluwy
authored
docs: add troubleshooting entry for case sensitivity ENOENT errors (#20523)
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: sapphi-red <[email protected]> Co-authored-by: 翠 <[email protected]> Co-authored-by: Bjorn Lu <[email protected]>
1 parent 1b211fd commit d209a1b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/guide/troubleshooting.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@ See [Reason: CORS request not HTTP - HTTP | MDN](https://developer.mozilla.org/e
146146

147147
You will need to access the file with `http` protocol. The easiest way to achieve this is to run `npx vite preview`.
148148

149+
### No such file or directory error due to case sensitivity
150+
151+
If you encounter errors like `ENOENT: no such file or directory` or `Module not found`, this often occurs when your project was developed on a case-insensitive filesystem (Windows / macOS) but built on a case-sensitive one (Linux). Please make sure that the imports have the correct casing.
152+
149153
## Optimized Dependencies
150154

151155
### Outdated pre-bundled deps when linking to a local package

0 commit comments

Comments
 (0)