Skip to content
JS
Node.js error

ERR_PARSE_ARGS_UNEXPECTED_POSITIONAL

Thrown by util.parseArgs(), when a positional argument is provided and allowPositionals is set to false.

Reference entryNode.jsFetched

Node.js documentation lists the code ERR_PARSE_ARGS_UNEXPECTED_POSITIONAL without the printed message text.

Category
Node.js error codes
Severity
error
Versions
Added in v18.3.0, v16.17.0
Runtime
node
or press Cmd/Ctrl + Enter. The text is only sent to this site to match it.
Source: Node.js documentation. Data fetched 2026-09-25T01:43:12.380Z.