Skip to content
← Back to Community
How to upgrade to npm v7?
Profile icon
The-Nance

Discord.js v13 requires npmv7 to function but reply is on v6.14.12. How do i upgrade to v7?

Voters
Profile icon
AngelNext
Profile icon
ChaminduDilshan
Profile icon
The-Nance
Comments
hotnewtop
Profile icon
Coder100

do you mean downgrade?
if so, change your .replit file to this:

run = "npx [email protected] i discord.js ; npx [email protected] ."
Profile icon
xfinnbar

npm install -g [email protected]