debug:angular
Installation
SKILL.md
Angular Debugging Guide
This guide provides a systematic approach to debugging Angular applications, covering common error patterns, debugging tools, and structured resolution phases.
Common Error Patterns
NullInjectorError
Symptoms:
NullInjectorError: No provider for <ServiceName>StaticInjectorError: No provider for <ServiceName>- Service injection fails at runtime
Root Causes:
- Service not provided in any module or component
- Circular dependency between services
- Missing
@Injectable()decorator - Service provided in wrong scope (lazy-loaded module vs root)