Error Code Portal
Node.jsNode.jsError code

EISDIR

Is a directory

Code EISDIR · An issue reported by Node.js.

EISDIR (Is a directory): An operation expected a file, but the given pathname was a directory.

Troubleshooting and diagnostic links

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