Skip to content
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

Install CLI twillio fails using apt #502

Open
kwmartin opened this issue Mar 28, 2024 · 1 comment
Open

Install CLI twillio fails using apt #502

kwmartin opened this issue Mar 28, 2024 · 1 comment

Comments

@kwmartin
Copy link

  | sudo apt-key add -
sudo touch /etc/apt/sources.list.d/twilio.list
echo 'deb https://twilio-cli-prod.s3.amazonaws.com/apt/ /' \
  | sudo tee /etc/apt/sources.list.d/twilio.list
sudo apt update
sudo apt install -y twilio
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK

apt-key has been deprecated for a long time; this really wrecks apt and is a pain to fix.
2) Near the end of the install:

(Reading database ... 358767 files and directories currently installed.)
Preparing to unpack .../twilio_5.19.1-1_amd64.deb ...
Unpacking twilio (5.19.1-1) ...
Setting up twilio (5.19.1-1) ...
/usr/lib/twilio-cli/node_modules/@oclif/core/lib/command.js:41
            delete this.globalFlags?.json;
                                    ^

SyntaxError: Unexpected token '.'
    at wrapSafe (internal/modules/cjs/loader.js:915:16)
    at Module._compile (internal/modules/cjs/loader.js:963:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/usr/lib/twilio-cli/node_modules/@oclif/core/lib/index.js:6:19)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
dpkg: error processing package twilio (--configure):
 installed twilio package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 twilio
E: Sub-process /usr/bin/dpkg returned an error code (1)
> 

What can I say except yech!
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy

Copy link

welcome bot commented Mar 28, 2024

Thank you so much for opening your first issue in this project! We'll try to get back to it as quickly as possible. While you are waiting...here's a random picture of a corgi (powered by dog.ceo)

picture of dog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant