Skip to content
← Back to Community
how do i fix this error. (repl process died unexpectedly)
Profile icon
Swaggs

when I added the first 8 lines of code and add the other lines I get this error (repl process died unexpectedly: exit status 1)

Voters
Profile icon
MuhdKhalid
Profile icon
11irishjs
Profile icon
McJoe21
Profile icon
Swaggs
Comments
hotnewtop
Profile icon
Coder100

please, read the full error:

image

what happened is that replit only runs index.js files, and that doesn't exist.

Read this on how to fix it: https://docs.replit.com/repls/dot-replit#configuring-the-run-button

for you:

run = "node bot/index"