Ask coding questions

← Back to all posts
how do i fix this error. (repl process died unexpectedly)
SaphCS (1)

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)

Comments
hotnewtop
Coder100 (18882)

please, read the full error:

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"