Ask coding questions

← Back to all posts
My discord weather bot error
NaturalCoder

I am getting this error
repl process died unexpectedly exit status 1

Voters
NaturalCoder
Comments
hotnewtop
LordSoloOfficial

create a .replit file & Put node server.js & Discord.js v13 needs node v16.11.1 or higher | go to package.json and do
"devDependencies": {
"node": "^16.11.1"
},

JacobBirch

Hey! Make a file called .replit and enter:
run = "node index.js"
Now, you can click run and it will run! Also make sure you refresh your bot token, as you now leaked it! Good luck on your fellow discord adventures!

NaturalCoder
SixBeeps

The error is actually above that, and it's because the Repl is not yet configured to run the bot. Make a .replit file and set it to run your server.js script.