Common DBM Errors and how to fix them
Error | Fix |
---|---|
Error: Cannot find module 'discord.js' | 1. Delete node_modules 2. type npm i (this will reinstall modules) |
Error: DBM won't start | 1. Launch Steam 2. Open Software Library section 3. Right-click on DBM and select Properties from the menu 4. Select the Local files tab 5. Click the Verify integrity of game files button. 6. Steam will verify the game's files - this process may take several minutes. |
Error: (beta) Bot token is being overwritten | Navigate to C:\Users\your-name\AppData\local and delete folders DBM and DBM2 |
Error: There was an error parsing players.json There was an error parsing commands.json There was an error parsing events.json |
Your file is most likely empty. To correct this: 1. Open the bots project folder 2. Open the DATA folder 3. Open the file that is erroring ( players.json etc) 4. Enter { } , save and close the file 5. Restart your bot |