Error Code Portal
Node.jsNode.jsError code

ENOTEMPTY

Directory not empty

Code ENOTEMPTY · An issue reported by Node.js.

ENOTEMPTY (Directory not empty): A directory with entries was the target of an operation that requires an empty directory, usually fs.unlink.

Troubleshooting and diagnostic links

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