Skip to content

doc: `require` behavior on case-insensitive systems

Rodrigo Muino Tomonari requested to merge github/fork/hgwood/fix/issue_5143 into master

See #5143 (closed) and https://github.com/nodejs/node-v0.x-archive/issues/6829.

This adds a paragraph in the Module Caching Caveats section about the behavior of require when Node is running on top of a file system (e.g. HFS) or operating system (e.g. Windows) that will not consider the case of file paths to find files.

The goal is to make the behavior unambiguously clear, even though the previous paragraph might hint to the same caveat (to be honest, I'm not sure I understand that previous paragraph).

What do you think?

And thanks for making Node!

Merge request reports

Loading