-
Notifications
You must be signed in to change notification settings - Fork 486
Invalid second argument. Expected object but received string. #959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I got the same error, and did some investigation on the error.
It happens I'm using wrong argument to call The error go away when I correct call syntax. Hop it help... |
Yep, same error for me, using |
🤔 Yep, looks like |
@tmcw please note also that the reported usage is incongruent with the readme file: the former says to use |
@parro-it did you manage to get it working with either of those syntaxes? I can't seem to get around this error (i.e. my README.md is never updated...) |
@tmcw I found what causes documentation/src/commands/readme.js Lines 19 to 27 in 2df7d3e
So I deleted and moved them in PR #968. Now you don't need to pin to |
Invalid second argument. Expected object but received string.
5.3.3
Seems to be an error in the latest release of the CLI, maybe
yargs
updated their build and it's throwing this error, it's not critical sincedocumentation
still continues running after the Error message.You can replicate this issue by using any of the CLI commands.
The text was updated successfully, but these errors were encountered: