Replit cannot find module /home/runner/

im getting this error code when making my discord bot, i dont want to add the link because it has private info in it

" error cannot find module /home/runner/discordbot.js/index.js "

can u send me full screenshot of your fıles and folders ın project or send lınk let me look ı may know the solutıon

You probably should look into ways of keeping private info out of your repos. Have you looked into .env files and the like?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.