Closed Aloradri closed 2 years ago
I hereby wated to say that this code is not working
code is working is being use in the server currently. mine is working.
I hereby wated to say that this code is not working
code is working is being use in the server currently. mine is working.
I mean i just try to make the bot but the code not working showing erors
I hereby wated to say that this code is not working
code is working is being use in the server currently. mine is working.
I mean i just try to make the bot but the code not working showing erors
what errors? you need to provide more information so people can help you :)
I hereby wated to say that this code is not working
code is working is being use in the server currently. mine is working.
I mean i just try to make the bot but the code not working showing erors
Show the error so we can help you :)
Error: Cannot find module 'node:events' Require stack:
tried it in replit (IDE)
You need to update the node version for your repl to 16.6 or above,
And this is how:
Replit Node 16.6.1
npm i --save-dev node@16.6.1 && npm config set prefix=$(pwd)/node_modules/node && export PATH=$(pwd)/node_modules/node/bin:$PATH
Put that code into the shell and add a .replit
file with the code:
run = "npm start"
And in your package.json file add
"scripts": { "start": "node index.js" }
Not working can any one give me working replit link or explain the process
I hereby wated to say that this code is not working