twilio/twilio-cli

Unable to update CLI and run some commands

justinzuma opened this issue · 3 comments

Issue Summary

I set up originally the Twilio CLI in Bash on MacOS Ventura, the most recent version with my M2 Mac. After noticing that the serverless plugin was not working, I switched to ZSH for my terminal in my attempt to fix, and now multiple commands do not work, even with no plugins installed (I removed the plugin)

twilio profiles returns blank
twilio plugins returns blank

Steps to Reproduce

  1. This is the first step
  2. This is the second step
  3. Further steps, etc.

Code Snippet

# paste code here

Exception/Log

2023-07-10T21:05:25.713Z Error: HTTP 403: Invalid channel stable
2023-07-10T21:05:25.713Z     at UpdateCli.fetchManifest (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/plugin-update/lib/update.js:79:23)
2023-07-10T21:05:25.713Z     at async UpdateCli.runUpdate (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/plugin-update/lib/update.js:45:30)
2023-07-10T21:05:25.713Z     at async UpdateCommand._run (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/command.js:80:22)
2023-07-10T21:05:25.713Z     at async Config.runCommand (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/config/config.js:301:25)
2023-07-11T21:03:28.660Z Error: Unexpected argument:  --help
2023-07-11T21:03:28.661Z See more help with --help
2023-07-11T21:03:28.661Z     at validateArgs (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/parser/validate.js:11:19)
2023-07-11T21:03:28.661Z     at Object.validate (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/parser/validate.js:153:5)
2023-07-11T21:03:28.661Z     at Object.parse (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/parser/index.js:30:13)
2023-07-11T21:03:28.661Z     at async NewCommandClass.parse (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/command.js:166:25)
2023-07-11T21:03:28.661Z     at async NewCommandClass.run (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@twilio/cli-core/src/base-commands/base-command.js:33:29)
2023-07-11T21:03:28.661Z     at async NewCommandClass.run (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@twilio/cli-core/src/base-commands/twilio-client-command.js:25:5)
2023-07-11T21:03:28.661Z     at async NewCommandClass.run (/opt/homebrew/Cellar/twilio/5.10.0/libexec/src/base-commands/twilio-api-command.js:30:5)
2023-07-11T21:03:28.661Z     at async NewCommandClass._run (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/command.js:80:22)
2023-07-11T21:03:28.661Z     at async Config.runCommand (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/config/config.js:301:25)
2023-07-11T21:33:40.521Z Error: HTTP 403: Invalid channel stable
2023-07-11T21:33:40.522Z     at UpdateCli.fetchManifest (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/plugin-update/lib/update.js:79:23)
2023-07-11T21:33:40.522Z     at async UpdateCli.runUpdate (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/plugin-update/lib/update.js:45:30)
2023-07-11T21:33:40.522Z     at async UpdateCommand._run (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/command.js:80:22)
2023-07-11T21:33:40.522Z     at async Config.runCommand (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/config/config.js:301:25)
2023-07-11T21:36:28.441Z Error: HTTP 403: Invalid channel stable
2023-07-11T21:36:28.442Z     at UpdateCli.fetchManifest (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/plugin-update/lib/update.js:79:23)
2023-07-11T21:36:28.442Z     at async UpdateCli.runUpdate (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/plugin-update/lib/update.js:45:30)
2023-07-11T21:36:28.442Z     at async UpdateCommand._run (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/command.js:80:22)
2023-07-11T21:36:28.442Z     at async Config.runCommand (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/config/config.js:301:25)
2023-07-11T21:39:57.904Z Error: HTTP 403: Invalid channel stable
2023-07-11T21:39:57.907Z     at UpdateCli.fetchManifest (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/plugin-update/lib/update.js:79:23)
2023-07-11T21:39:57.907Z     at async UpdateCli.runUpdate (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/plugin-update/lib/update.js:45:30)
2023-07-11T21:39:57.907Z     at async UpdateCommand._run (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/command.js:80:22)
2023-07-11T21:39:57.907Z     at async Config.runCommand (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/config/config.js:301:25)
2023-07-12T16:45:19.254Z Error: HTTP 403: Invalid channel --dev-debug
2023-07-12T16:45:19.255Z     at UpdateCli.fetchManifest (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/plugin-update/lib/update.js:79:23)
2023-07-12T16:45:19.255Z     at async UpdateCli.runUpdate (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/plugin-update/lib/update.js:45:30)
2023-07-12T16:45:19.255Z     at async UpdateCommand._run (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/command.js:80:22)
2023-07-12T16:45:19.255Z     at async Config.runCommand (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/config/config.js:301:25)
2023-07-12T17:59:17.920Z Error: Unexpected argument: debug
2023-07-12T17:59:17.922Z See more help with --help
2023-07-12T17:59:17.922Z     at validateArgs (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/parser/validate.js:11:19)
2023-07-12T17:59:17.922Z     at Object.validate (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/parser/validate.js:153:5)
2023-07-12T17:59:17.922Z     at Object.parse (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/parser/index.js:30:13)
2023-07-12T17:59:17.922Z     at async UpdateCommand.parse (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/command.js:166:25)
2023-07-12T17:59:17.922Z     at async UpdateCommand.run (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/plugin-update/lib/commands/update.js:16:33)
2023-07-12T17:59:17.922Z     at async UpdateCommand._run (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/command.js:80:22)
2023-07-12T17:59:17.922Z     at async Config.runCommand (/opt/homebrew/Cellar/twilio/5.10.0/libexec/node_modules/@oclif/core/lib/config/config.js:301:25)

Technical details:

  • twilio-cli version: 5.10.0
  • node version: n/a
  • Command output with debug logging enabled (adding -l debug to the end of the command): Error: Unexpected argument: debug
# paste output here

This issue is stale because it has been open for 30 days with no activity. Please remove stale label or comment or this issue will be closed in 30 days.

This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.

This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.