Error Code Portal
Node.jsNode.jsError code

ERR_INVALID_FILE_URL_PATH

invalid file url path

Code ERR_INVALID_FILE_URL_PATH · An issue reported by Node.js.

A Node.js API that consumes file: URLs (such as certain functions in the fs module) encountered a file URL with an incompatible path. The exact semantics for determining whether a path can be used is platform-dependent. The thrown error object includes an input property that contains the URL object of the invalid file: URL.

Troubleshooting and diagnostic links

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