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

Error during installation #196

Open
saranrts opened this issue Mar 22, 2024 · 1 comment
Open

Error during installation #196

saranrts opened this issue Mar 22, 2024 · 1 comment

Comments

@saranrts
Copy link

Trying to install the plugin gives me this error

warning @twilio-labs/plugin-dev-phone > @oclif/core > @oclif/[email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
warning @twilio-labs/plugin-dev-phone > @twilio-labs/dev-phone-ui > twilio-sync > [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning @twilio-labs/plugin-dev-phone > @twilio-labs/dev-phone-ui > twilio-sync > twilsock > [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
error Couldn't find package "@twilio/conversations@^2.0.0" required by "@twilio-labs/dev-phone-ui@^1.0.0-beta.1" on the "npm" registry.
Error: Couldn't find package "@twilio/cli-core@^7.0.0" required by "@twilio-labs/plugin-dev-phone@latest" on the "npm" registry.
at MessageError.ExtendableBuiltin (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:721:66)
at new MessageError (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:750:123)
at PackageRequest. (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:36620:17)
at Generator.throw ()
at step (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:310:30)
at /opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:323:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Error: Couldn't find package "@twilio/voice-sdk@^2.1.0" required by "@twilio-labs/dev-phone-ui@^1.0.0-beta.1" on the "npm" registry.
at MessageError.ExtendableBuiltin (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:721:66)
at new MessageError (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:750:123)
at PackageRequest. (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:36620:17)
at Generator.throw ()
at step (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:310:30)
at /opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:323:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Error: Couldn't find package "@twilio/declarative-type-validator@^0.2.6" required by "twilio-sync@^3.0.6" on the "npm" registry.
at MessageError.ExtendableBuiltin (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:721:66)
at new MessageError (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:750:123)
at PackageRequest. (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:36620:17)
at Generator.throw ()
at step (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:310:30)
at /opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:323:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Error: Couldn't find package "@twilio/operation-retrier@^4.0.14" required by "twilio-sync@^3.0.6" on the "npm" registry.
at MessageError.ExtendableBuiltin (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:721:66)
at new MessageError (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:750:123)
at PackageRequest. (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:36620:17)
at Generator.throw ()
at step (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:310:30)
at /opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:323:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Error: Couldn't find package "@twilio/replay-event-emitter@^0.3.6" required by "twilio-sync@^3.0.6" on the "npm" registry.
at MessageError.ExtendableBuiltin (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:721:66)
at new MessageError (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:750:123)
at PackageRequest. (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:36620:17)
at Generator.throw ()
at step (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:310:30)
at /opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:323:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Error: Couldn't find package "@twilio/operation-retrier@^4.0.7" required by "twilsock@~0.12.2" on the "npm" registry.
at MessageError.ExtendableBuiltin (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:721:66)
at new MessageError (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:750:123)
at PackageRequest. (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:36620:17)
at Generator.throw ()
at step (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:310:30)
at /opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:323:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Error: Couldn't find package "@twilio/declarative-type-validator@^0.1.11" required by "twilsock@~0.12.2" on the "npm" registry.
at MessageError.ExtendableBuiltin (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:721:66)
at new MessageError (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:750:123)
at PackageRequest. (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:36620:17)
at Generator.throw ()
at step (/opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:310:30)
at /opt/homebrew/Cellar/twilio/5.19.1/libexec/node_modules/yarn/lib/cli.js:323:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

My configuration:

twilio-cli/5.19.1
darwin-arm64
node-v18.0.0

Steps to reproduce:

After installing the above version of twilio CLI, run this command

twilio plugins:install @twilio-labs/plugin-dev-phone

Any help would be greatly appreciated, thanks!

@Lyca0n
Copy link

Lyca0n commented May 21, 2024

have you tried to verify which registry it is using in case you have a custom registry or local setup?

twilio plugins:install @twilio-labs/plugin-dev-phone --verbose

you can also try setting up this environment variable to make sure it's going to npm's default

export YARN_REGISTRY="https://registry.npmjs.org"

and then trying again

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

2 participants