Just running npm i @discordjs/rest doesn't install the latest version. Instead it installs 0.1.0-canary.0, the oldest version.
It appears this is intentional behavior for prerelease tags. However, how the updates are being released (updating the minor version rater than the prerelease version), the latest tag never gets updated.
The correct approach would probably be to just remove the prerelease tag, as it isn't being used.
Otherwise the discordjs.guide site should be updated to use npm install @discordjs/rest@canary.
Issue description
Just running
npm i @discordjs/rest
doesn't install the latest version. Instead it installs0.1.0-canary.0
, the oldest version.It appears this is intentional behavior for prerelease tags. However, how the updates are being released (updating the minor version rater than the prerelease version), the latest tag never gets updated.
The correct approach would probably be to just remove the prerelease tag, as it isn't being used. Otherwise the discordjs.guide site should be updated to use
npm install @discordjs/rest@canary
.Code sample
No response
discord.js version
0.2.0-canary.0
Node.js version
16
Operating system
No response
Priority this issue should have
Low (slightly annoying)
Which partials do you have configured?
No Partials
Which gateway intents are you subscribing to?
GUILDS