mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-11 01:36:16 +00:00
- Updated index.md to simplify structure and focus on task-oriented guides. - Revised notifications.md to streamline setup instructions and improve clarity. - Added report-error.js for structured error reporting to Discord. - Introduced account-creation.md and configuration.md for detailed guidance on account setup and bot configuration. - Created dashboard.md, docker.md, error-reporting.md, modes.md, running.md, scheduling.md, setup.md, troubleshooting.md, and update.md for comprehensive documentation on respective features and usage. - Updated package-lock.json and package.json to include peer dependencies.
19 lines
474 B
Markdown
19 lines
474 B
Markdown
# Troubleshooting
|
|
|
|
## What it does
|
|
Quick fixes for common problems.
|
|
|
|
## How to use
|
|
- If a run fails, rerun with `npm start` after closing all browser windows.
|
|
- If builds fail, delete `node_modules` and `dist`, then run `npm install` followed by `npm run build`.
|
|
- Ensure `DISCORD_WEBHOOK_URL` is set if you expect alerts.
|
|
- Check that `accounts.jsonc` has valid emails and passwords.
|
|
|
|
## Example
|
|
```bash
|
|
npx rimraf node_modules dist
|
|
npm install
|
|
npm run build
|
|
npm start
|
|
```
|