Simpleboy353 / REAPER-2.0

A multi-purpose discord bot made using Discord.js V14. Includes Logging, Welcomer, Slash Commands, Menu based Help Command and so much more!
GNU General Public License v3.0
329 stars 225 forks source link

Replit Hosting Issue 😞 #118

Closed Nateay0 closed 2 years ago

Nateay0 commented 2 years ago

` node index internal/modules/cjs/loader.js:818 throw err; ^

Error: Cannot find module 'node:events' Require stack:

Can anyone please help?

Nateay0 commented 2 years ago

I just noticed that there were no node_modules but it won't download cuz I get errors when I do npm install!

1KxDipsy commented 2 years ago

bro 1st : You will copy the github link of reaper . [https://github.com/Simpleboy353/REAPER-2.0.git] 2nd : You will go to the replit [https://replit.com/repls] and you create a projet by clicing [+ Create Repl] then you click import from github & past the link of Reaper. wait a moment ... the replit system will detect the language of Reaper automatically if it tell you to choise langage chose node.js & click start.(dont run the project) 3nd : Until Now dont run the bot, you have the project : you will go to change this file config.json (enter the bot token , prefix , mongodb ... ) 4nd : After that you will visit this link [https://discord.com/developers/applications] you choise your bot and you need to enable this intents like in the pic bellow . 5nd : Now you need to update node to 16 version : Use this code in Shell (if you dont know where this Shell lock bellow in the second pic) just copy paste it & enter , wait for the finish :

npm init -y && npm i --save-dev node@16 && npm config set prefix=$(pwd)/node_modules/node && export PATH=$(pwd)/node_modules/node/bin:$PATH

6nd : Now you need to update discord js So use this command in Shell too & wait for the finish :

npm install discord.js@latest

7nd : Use this command to install all packages : npm install

Last step : Use this command to run the bot : node . or Click Run (Green Button).

N.B: For Config.json

These steps is my own experience with Reaper Bot if you do this steps it should work with you & If you still have any error just share it with us here in this server : https://discord.com/invite/HrdCqWbYRr or leave me a message here 1KxDIPSY#0001 ofc if i can help ( Im not at home rn ).

test10 test9

Nateay0 commented 2 years ago

Ty but wait keep the issue open. Just incase I have anymore errors cuz I am sleeping rn and I am not at my computer to do this!

Nateay0 commented 2 years ago

It still does not work :(

Nateay0 commented 2 years ago

image

😞 Still the same error

1KxDipsy commented 2 years ago

invite me to project

Simpleboy353 commented 2 years ago

image

😞 Still the same error

reinstall discord.js

Nateay0 commented 2 years ago

invite me to project

I will dm u on discord

Nateay0 commented 2 years ago

Still doesn't work! 😞

 node index internal/modules/cjs/loader.js:818 throw err; ^

Error: Cannot find module 'node:events' Require stack:

Nateay0 commented 2 years ago

It works now. I had to make a new replit and do all of this

https://github.com/Simpleboy353/REAPER-2.0/issues/118#issuecomment-966728880