DEV Community

Discussion on: Write to a Notion Database via SMS with Twilio Serverless, the Notion API, and JavaScript

Collapse
 
ivavay profile image
Ivy Chen • Edited

Hey Lizzie! I'm trying to follow along with this tutorial and the last step isn't working for me for some reason. When I tried to connect the Twilio phone number to the deployed function url, it gives me an error like this:

twilio-cli encountered an unexpected error.
Enter fullscreen mode Exit fullscreen mode

Would love your help! I'm using this to make a mental health tracker :)

I also got this notice a few steps before, not sure if it's that.


│ WARNING Different Node.js Version Found
│ 
│ You are currently running Node.js 18.9.0 on this local machine. The 
│ production environment for Twilio Serverless currently supports versions 
│ 14.x.
│ 
│ When you deploy to Twilio Serverless, you may encounter differences between
│  local development and production.
│ 
│ For a more accurate local development experience, please switch your 
│ Node.js version.
│ A tool like nvm (https://github.com/creationix/nvm) can help.
Enter fullscreen mode Exit fullscreen mode