Skip to content

[BUG] [@twilio-labs/plugin-serverless@4.0.0] [ngrok ERR_NGROK_4018] #554

@wonboyn

Description

@wonboyn

Describe the bug
When trying to run serverless start with --ngrok="" get the error:

│ ERROR 
│ 
│ ngrok failed to start: failed to connect session: Usage of ngrok requires a verified account and authtoken.
│ Sign up for an account: https://dashboard.ngrok.com/signup
│ Install your authtoken: https://dashboard.ngrok.com/get-started/your-authtoken error_code: ERR_NGROK_4018
│ Check your ngrok configuration and network connectivity.
│ For more help, visit: https://ngrok.com/docs

To Reproduce
Steps to reproduce the behavior:

  1. export NGROK_AUTHTOKEN="whatever_token_value"
  2. Initialise a new project using --typescript
  3. npm build
  4. twilio serverless:start --functions-folder dist/functions --assets-folder dist/assets --ngrok=""
  5. See error

Expected behavior
The serverless project is started & ngrok exposes port 3000 using the provided auth token

Desktop (please complete the following information):

  • OS: Debian 13.3
  • Browser N/A
  • Version ???
  • Twilio CLI version: twilio-cli/6.2.4 linux-arm64 node-v22.22.1

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