Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

340
Vistas
Heroku | SyntaxError: Unexpected token '?? =' (question mark question mark equals)

When I run my node js app, Heroku reports an error:

/app/node_modules/discord.js/src/rest/APIRequest.js:34
agent ?? = new https.Agent ({... this.client.options.http.agent, keepAlive: true});

SyntaxError: Unexpected token '?? ='

The problem is that even if I comment out this line or delete it, the problem is not solved. And the error will prevent me from running the code.

As far as I understand, this is a new symbol for node js, which is inconsistent with heroku's version of node js, but this is just guesswork. So how do I fix this? Thanks in advance

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda