twilio-labs / serverless-toolkit

CLI tool to develop, debug and deploy Twilio Functions

Home Page:https://www.twilio.com/docs/labs/serverless-toolkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Serverless Demo Error

abhiragh opened this issue · comments

Received this error while trying to setup the Twilio Serverless demo from Twilio's documentation:

/home/ubuntu# twilio serverless:init --empty verify-demo
✔ Creating project directory
✔ Creating project directories and files
✔ Downloading .gitignore file
✖ Installing dependencies
There was an error installing the dependencies, but your project is otherwise complete in ./verify-demo
» twilio-cli encountered an unexpected error. To report this issue, execute the command with the "-l debug" flag, then copy the output to a new issue here: "https://github.com/twilio-labs/serverless-toolkit/issues"

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

Were you able to cd into your project and install the dependencies by running npm install?

Did you run the command again with the -l debug flag?

Could you maybe try generating a new project with the -l debug flag on and see if anything is reported. Otherwise it will be hard to tell what went wrong here.

Glad the project is working for you though!