Skip to content
Sign upLog in
← Back to Community

Node v14? (Current LTS)

Profile icon
EliasVal

Hello! I have some features that was included in node 14 in order for my project to work, how can I update my repl from node 12 to 14?

Voters
Profile icon
Leon
Profile icon
EliasVal
Comments
hotnewtop
Profile icon
RYANTADIPARTHI

i'm not sure if you can do that. Repl.it has a default version of node.js. So you can't upgrade.

Profile icon
EliasVal

@RYANTADIPARTHI

I found out how to upgrade.
npm i [email protected] in the shell,
create a .replit file and write run = "npm start" in it.
Then it should run the project with that node version you installed.

Profile icon
RYANTADIPARTHI

@EliasVal
ok, so it worked?

Profile icon
EliasVal

@RYANTADIPARTHI
yup.

Profile icon
RYANTADIPARTHI

@EliasVal
ok

Profile icon
tussiez

@EliasVal
ooh, I want to try this!

Profile icon
TimSmith4

@EliasVal
great find! works perfect!!!

Profile icon
Pomardinho

@EliasVal
Is not working for me

Profile icon
tigerrrrr

Definitely works.

@EliasVal

npm i [email protected]

Profile icon
Dreamprince

I did all same but still its v 12

@EliasVal

Profile icon
gamesio

@Dreamprince
try npx [email protected], it's work for now

Profile icon
Dreamprince

thnx

@gamesio

Profile icon
gamesio

@Dreamprince
nope