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.
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 Thoughts2 Comments
Sort: