Skip to content
How to change node version
Profile icon
mirzabhakti

Im trying to build a discord bot recently. I tried to install the new discord.js version but i need to change the node version to 12 or higher. Tried to use this code on my package.json but doesnt work

"engines": { "node": "latest", "npm": "latest" }

is there any other way to change the node version?

You are viewing a single comment. View All
Answered by Coder100 [earned 5 cycles]
View Answer
Profile icon
mirzabhakti

@Coder100
oh that worked thank you. I kinda new to coding so i dont really know the commands & stuff are lol