The output contains a stack trace, starting with the following:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be one of type string, Buffer, or URL. Received type undefined
...
Suggestion
I do not consider this as a bug or an invalid behavior (it may be indeed the expected behavior). But in general, I think that there is no point to print such an information to a non-developer.
Instead, there might be added a flag -d/--debug which would enable all commands to print stack traces in case of ~a failure~ particular failures.
Steps to reproduce
Suggestion
I do not consider this as a bug or an invalid behavior (it may be indeed the expected behavior). But in general, I think that there is no point to print such an information to a non-developer.
Instead, there might be added a flag
-d
/--debug
which would enable all commands to print stack traces in case of ~a failure~ particular failures.