Ask coding questions

← Back to all posts
Node v14? (Current LTS)
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
Leon
EliasVal
Comments
hotnewtop
RYANTADIPARTHI

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

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.

RYANTADIPARTHI

@EliasVal ok, so it worked?

EliasVal
RYANTADIPARTHI
tussiez

@EliasVal ooh, I want to try this!

TimSmith4

@EliasVal great find! works perfect!!!

Pomardinho

@EliasVal Is not working for me

tigerrrrr

Definitely works. @EliasVal

npm i [email protected]

Dreamprince

I did all same but still its v 12 @EliasVal

gamesio

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

Dreamprince

thnx @gamesio

gamesio