Skip to content

[BUG] No matching version found for @twilio/[email protected] #538

@Blackglade

Description

@Blackglade

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Run twilio serverless:init project-name --typescript
  2. Go into project and set ACCOUNT_SID and AUTH_TOKEN env
  3. Run npm run deploy
  4. I get the following error:
✖ Failed Deployment

│ ERROR Failed API Request 20001
│ 
│ Some dependencies could not be validated. No matching version found for @twilio/[email protected]. You can find the valid versions at 
│ https://www.twilio.com/docs/serverless/functions-assets/handler
│ 
│ More info: https://www.twilio.com/docs/errors/20001

Expected behavior
I expected the base template to deploy perfectly fine. Not sure why it doesn't. Also I am confused as to why the function still deploys despite it saying "failed deployment". Then when I try to deploy it again, it says a deployment already exists

Screenshots
Image

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Chrome
  • Version: Node Version 18 (and same issue with v22
  • Twilio CLI version: twilio-cli/5.22.9 darwin-arm64 node-v18.20.5
  • The package and version you are having an issue with: @twilio/[email protected]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions