You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[C:\Program]() Files\nodejs\node.exe [.\main.js]()
Options:
--help Show help [boolean]
--version Show version number [boolean]
--someArg [string]
node_modules/yargs/build/index.cjs:1
The "path" argument must be of type string. Received undefined
node_modules/yargs/build/index.cjs:1
Process exited with code 1
Does it correct? If my someArg is not a demand, why he "gets" default value undefined and then coerce is called? And, of cource, path.resolve drop this error
I think, it's not correct, to call coerce, if user not give an argument
The text was updated successfully, but these errors were encountered:
Run this simple script WITHOUT any cli arguments:
You will get error message in output:
Does it correct? If my someArg is not a demand, why he "gets" default value undefined and then coerce is called? And, of cource, path.resolve drop this error
I think, it's not correct, to call coerce, if user not give an argument
The text was updated successfully, but these errors were encountered: