Comprehensive guide to diagnosing and fixing common issues with plugins built using this template.
Table of Contents
- Quick Diagnostics
- Installation Issues
- Plugin Won’t Enable
- Runtime Errors
- Performance Problems
- Styling Issues
- Data Issues
- Platform-Specific Issues
- Reporting Bugs
Quick Diagnostics
Before diving into specific issues, run these quick checks:
1. Check Plugin is Enabled
Settings → Community plugins → [Plugin Name] → Toggle ON
2. Check Obsidian Version
Settings → About → App version
Minimum required: v1.0.0 (check manifest.json for specific requirement)
3. Check Plugin Version
Settings → Community plugins → [Plugin Name] → Version number
4. Check Console for Errors
Ctrl/Cmd + Shift + I → Console tab
Look for red error messages.
5. Enable Debug Logging
Plugin Settings → Enable debug logging
Check: VaultRoot/debug-log.txt
Installation Issues
Plugin Doesn’t Appear in List
Symptoms:
- Plugin installed but not visible in Community plugins list
Causes & Solutions:
1. Files in wrong location
# Correct location:
VaultName/.obsidian/plugins/plugin-name/
├── main.js
├── manifest.json
└── styles.css
2. Missing required files
- Ensure
main.js,manifest.json, andstyles.cssall exist - Download complete release package
3. Invalid manifest.json
# Validate JSON:
cat manifest.json | python -m json.tool
4. Obsidian needs restart
- Quit Obsidian completely (not just close window)
- Reopen vault
Plugin Won’t Enable
Toggle Turns Off Immediately
Diagnosis:
// Open console (Ctrl/Cmd + Shift + I)
// Look for errors when toggling
Common Causes:
- Syntax error in plugin code - Update to latest version
- Missing dependencies - For dev:
npm install && npm run build - Incompatible Obsidian version - Check
manifest.json→minAppVersion - Conflicting plugin - Disable other plugins one by one
Runtime Errors
Plugin Causes Crashes
Immediate Fix:
Safe mode:
1. Hold Ctrl/Cmd while opening vault
2. Opens without plugins
3. Disable problematic plugin
4. Restart normally
Performance Problems
Obsidian Running Slowly
Solutions:
- Disable debug logging:
- Plugin Settings → Disable “Enable debug logging”
- Reduce operation frequency:
- Check settings for update intervals
- Disable unused features:
- Turn off optional features
Styling Issues
Styles Not Loading
Checks:
- Verify
styles.cssexists in plugin folder - Clear cache: Settings → About → Clear cache
- Disable CSS snippets temporarily
- Test with default theme
Reporting Bugs
When reporting bugs, include:
- Obsidian version
- Plugin version
- Operating system
- Steps to reproduce
- Debug log (if applicable)
- Console errors
More details: See full troubleshooting sections above or check FAQ.