Error Code Portal
Node.jsNode.jsError code

ERR_FS_EISDIR

fs eisdir

Code ERR_FS_EISDIR · An issue reported by Node.js.

Path is a directory.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.