mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-10 01:06:17 +00:00
Refactor documentation and add new features
- 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.
This commit is contained in:
18
docs/troubleshooting.md
Normal file
18
docs/troubleshooting.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# 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
|
||||
```
|
||||
Reference in New Issue
Block a user