A developer encounters the mysterious Angular NG02100 error while building a notification drawer. The error occurred randomly when rendering notifications, making it difficult to debug. After hours of investigation, the root cause was discovered: the backend had changed from sending ISO timestamps to human-readable strings, but the Angular date pipe was still trying to parse them as dates. The solution was simple - remove the date pipe - but finding the issue was challenging due to the vague error message and lack of clear stack trace pointing to the template.

•4m read time•From dev.to
Post cover image
Table of contents
When ā€œJust a Template Changeā€ Isn’tThe Crash That Made No SenseDebugging the Wrong PlacesThe BreakthroughThe Fix Was Simple (But Finding It Wasn't)Lessons from the TrapWhat I’d Do Differently NowFinal Thoughts
2 Comments

Sort: