DEV Community

Discussion on: Twilio Hackathon Help Thread

Collapse
 
gameoverwill profile image
Wilfredo Pérez • Edited

Hello guys, after I updated my sms-url from twilio-cli I got an error.

a483e79ff8f8:untitled wilfrelo$ twilio phone-numbers:update "+MY-NUMBER" --sms-url="http://localhost:1337/sms"
events.js:187
      throw er; // Unhandled 'error' event
      ^

Error: spawn ./ngrok ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
Emitted 'error' event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  errno: 'ENOENT',
  code: 'ENOENT',
  syscall: 'spawn ./ngrok',
  path: './ngrok',
  spawnargs: [ 'start', '--none', '--log=stdout' ]
}

Details here

I´m stuck because I didn´t have luck searching on Google. Please can someone help me?

Collapse
 
philnash profile image
Phil Nash

Are you able to download, install and run ngrok outside of the Twilio CLI? It looks like that is what is causing trouble here.

Collapse
 
gameoverwill profile image
Wilfredo Pérez

Hey @phil I noticed during the weekend that my laptop that use in my job has blocked something that don't let me install or use ngrok. I tested my code in another computer and it's working.

Thanks for your help.

Thread Thread
 
philnash profile image
Phil Nash

That's good news! Glad you found out what happened and could test elsewhere.