N
N
Nikita Kudrin2021-06-04 13:29:58
npm
Nikita Kudrin, 2021-06-04 13:29:58

Heroku downloads the wrong thing. How to be?

Downloaded discord.js on PC using npm i https://github.com/discordjs/discord.js , package.json had "discord.js": " github:discordjs/discord.js ".
I create a deploy on Heroku with the same package.json as on PC, but I get discord.js version 12.5.0, although it is 13.0.0-dev on PC.
What to do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Kudrin, 2021-06-04
@HepkaPlay

The issue is resolved, it was necessary to put dev in the version.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question