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

418
Vistas
How do I update to v13

every time I try to upgrade discord.js v12 to v13, npm reinstalls discord.js v12 and is not upgrading to v13. I tried to delete node_modules, I tried to remove discord.js from package.js and packages-lock.json and it doesn't work. I tried npm update discord.js, I tried to uninstall and reinstall discord.js and nothing works, someone, please help me.

over 4 years ago · Santiago Trujillo
3 Respuestas
Responde la pregunta

0

As of the posting of this answer

To upgrade to the lastest build of v13 use

npm i discord.js@dev

This will install the master branch of the Discord.js repository. As EJBEAN stated, v13 currently is not fully public and is still in active development.


UPDATE Discord.JS v13 is now live. To update simply run

npm uninstall discord.js

Then

npm install discord.js

Or View This Answer

over 4 years ago · Santiago Trujillo Denunciar

0

v13 has now been released!

To upgrade, use npm upgrade or update your dependencies in package.json:

{
  "dependencies": {
    "discord.js": "^13.0.0"
  }
}

Take a look at the Discord.js guide for breaking changes.

over 4 years ago · Santiago Trujillo Denunciar

0

The issue is caused because discord.js version 13 is not public yet, so you cannot update to the official v13 version.

In case you want to downgrade (or upgrade)

You can add the package version as a parameter npm i [packagename]@[version]. Prefix a version number with a caret (^) or a tilde (~) to specify to install the latest minor or patch version, respectively.

npm i discord.js@12.5.3

Alternatively you can install the dev release of djsv13

npm i discord.js@^13.0.0-dev.5af2ef5fbc7ad11281f38384c360ae79efe63b39
over 4 years ago · Santiago Trujillo Denunciar
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