Skip to content
← Back to Community
Is it possible for me to use PM2 with Repl.it
Profile icon
EndXOffical

I tried before but it didn’t work. Maybe I’m doing something wrong.

Voters
Profile icon
JAKYT
Profile icon
Llatepate
Profile icon
jFShm3BoAgQ
Profile icon
NEXGENGAMER235
Profile icon
TheLimifiedLime
Profile icon
EndXOffical
Comments
hotnewtop
Profile icon
Coder100

Nope, you can't install it globally. To run pm2, you will have to do this instead:

npx pm2
Profile icon
soras2

@Coder100 i love you bro s2

Profile icon
Coder100

lol np @kochgf

Profile icon
Coder100

Something like:

npx pm2 start app.js
Profile icon
EndXOffical

@Coder100 I want it to automatically start my node when it’s done. Like refreshing my node

Profile icon
Bhondamous

@Coder100 how long does it take?

Profile icon
DinoGrzinic

@Coder100 i get [PM2][ERROR] File ecosystem.config.js not found

Profile icon
TheLimifiedLime

Replying so I can find this later