We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Invoking the example command from the documentation, I'm getting an error
$ twitch token -u -s 'user:read:email user:edit'
$ twitch version twitch-cli/1.1.21
brew
twitch-cli.env
--config
Mac OS 14.0
arm (Apple Silicon M1 Pro)
twitch token -u -s 'user:read:email user:edit'
No Client ID or Secret found in configuration. Triggering configuration now. panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x1028a957c] goroutine 1 [running]: github.com/twitchdev/twitch-cli/cmd.loginCmdRun(0x1400016d200?, {0x140001981e0, 0x0, 0x3}) /go/src/github.com/twitchdev/twitch-cli/cmd/token.go:53 +0x18c github.com/spf13/cobra.(*Command).execute(0x102faa780, {0x140001981b0, 0x3, 0x3}) /go/pkg/mod/github.com/spf13/[email protected]/command.go:852 +0x554 github.com/spf13/cobra.(*Command).ExecuteC(0x102faa500) /go/pkg/mod/github.com/spf13/[email protected]/command.go:960 +0x310 github.com/spf13/cobra.(*Command).Execute(...) /go/pkg/mod/github.com/spf13/[email protected]/command.go:897 github.com/twitchdev/twitch-cli/cmd.Execute() /go/src/github.com/twitchdev/twitch-cli/cmd/root.go:26 +0x24 main.main() /go/src/github.com/twitchdev/twitch-cli/main.go:54 +0x2fc
The text was updated successfully, but these errors were encountered:
Changed .Run(...) to .RunE(...); Fixes #289
d783250
Successfully merging a pull request may close this issue.
What is the problem?
Invoking the example command from the documentation, I'm getting an error
Additional information
brew
twitch-cli.env
file does not exist, and setting--config
to another location doesn't help.Operating System
Mac OS 14.0
Architecture Version (x86, x64, arm, etc)
arm (Apple Silicon M1 Pro)
Steps to reproduce
twitch token -u -s 'user:read:email user:edit'
Relevant log output
The text was updated successfully, but these errors were encountered: