Skip to content

Just a Simple Tool To Make Replit Support Discord.js V13

Notifications You must be signed in to change notification settings

N1-TR0/Discord.js-Replit-Fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Discord.js v13 Fix For Replit

Fixes The Missing Module issue When Your Code is Ran On Repl.it You Could Try it With The Test Script That included Here

Running The Fix

or Run These Lines Of Code in the in the Terminal

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

put this in package.json

"scripts": {
  "start": "node ."
}

Put This in .replit

run="npm start"

Important Reinstall all Your PKGS

Don't Use npm i you need to put the pkgs names like npm install discord.js Express axios

Join The Developers Cafe

Discord Banner 2

About

Just a Simple Tool To Make Replit Support Discord.js V13

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published