AutoMod-Discord-Bot icon indicating copy to clipboard operation
AutoMod-Discord-Bot copied to clipboard

after i do everything, and i do the command node bot.js it says cannot find module

Open Driftyyes opened this issue 4 years ago • 2 comments

Im new to coding so im kinda confused what this means and what do i do to fix it?

Driftyyes avatar Jun 08 '21 15:06 Driftyyes

Im new to coding so im kinda confused what this means and what do i do to fix it?

Cannot find module it means that the node package was not found | how to fix it ;- first see beside of cannot find module there will appear a package name like this "MODULE" copy the module name and open your browser and search npm and the module name after opening the link at the top corner you will see npm i copy that and open your coding software or website and open its terminal and paste it and press enter and retry node bot.js hope it will help you if this not works you can DM me on discord my user name is ! AryanAzoz#0880

AryanAzoz avatar Jul 20 '21 17:07 AryanAzoz

you can also fix the packages by doing npm audit fix

DiscordRocco avatar Aug 07 '21 07:08 DiscordRocco