Error Code Portal
Node.jsNode.jsError code

ERR_FS_CP_EINVAL

fs cp einval

Code ERR_FS_CP_EINVAL · An issue reported by Node.js.

When using fs.cp(), src or dest pointed to an invalid path.

Troubleshooting and diagnostic links

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