Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

165
Views
Twilio Conversations twilsock.InitRegistration() no es un constructor

Dado esto, obtengo esta salida ...

 import { Client } from '@twilio/conversations'; ... crap.... this.client = new Client(this.token); this.client.on('stateChanged', state => { if (state === 'initialized') { this.ready = true; this.emitter.emit('ready'); ... more stuff....
 browser.js?edd1:6945 Uncaught (in promise) TypeError: twilsock.InitRegistration is not a constructor at new Client (browser.js?edd1:6945:1) at _class._createSuperInternal (browser.js?7253:148:1) at new _class (browser.js?7253:239:1) at eval (TwilioProvider.js?d6b9:149:1) at new Promise (<anonymous>) at TwilioProvider.start (TwilioProvider.js?d6b9:135:1) at eval (start.js?e8a3:39:1) at Object.eval [as dispatch] (index.js?4dd3:11:1) at dispatch (<anonymous>:10607:80) at eval (redux.js?a67e:483:1)

Detuve el depurador en esa línea y este es el valor de twilsock en esa línea... ¿alguna sugerencia?

valor de depuración

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

El problema se debió a que el enlace de hilo resolvió twilsock a una versión anterior. Lo vinculé modificando la versión para vincular: {filepath} y todo está bien.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!