Ask coding questions

← Back to all posts
How Can I change the node version for my repl ?
h
M772 (0)

I am working with discord.js and I need to set the node version to 12 or higher but i don't know how

Voters
M772 (0)
Comments
hotnewtop
M772 (0)

@Coder100 I'm using the typescript repl . Node version on it is 10

RohilPatel (1533)

Lmao just use visual studio code or something. @M772

Coder100 (17090)

but the process is the same @M772

M772 (0)

@RohilPatel i can't host my bot 24h/7 on my pc

RohilPatel (1533)

Why do you want to use typescript when you can just use Nodejs @M772

Coder100 (17090)
run = "tsc ; npx node ."

i dunno seems the same to me
@M772