How can i update node.js?
i am making a discord bot but for discord.js v13 i need Node.js 16.6.0 or newer, the version of replit is v12.22.1 . How can i update it?
use a Nix repl instead, and add the
node-16_x package to your dependancies likes so:
This unfortunately only gets you up to 16.4.1, but that's about the closest you can get with Nix.
If I remember correctly, there is an alternate solution, but it includes downloading the newer version of Node.js using npm.