Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
6

How to use a custom node version

leon332157
leon332157

I'm sure many people have complains about repl.it's node version being old.

What you can to is install node with npm, and specify the start a start script like so "node index.js".

You can also change the package.json file to use whatever node version you want.

You just need to make sure to do npm install if command isn't found.

You can see the repl for an example.

2 years ago

Voters

Comments

TopNew
1
michael888
michael888

Hi, I think this no longer works? It runs but immediately crashes without errors. Or is it only a temporary replit issue?

7 months ago
Load more