Facing the below error While navigating (routerLink) in Angular App in production.
ERROR ReferenceError: _viewpnrtRuler is not defined
at new e (main.js:5:74603)
at new e (main.js:5:87814)
at e.ɵfac (main.js:5:85665)
at gt.factory (main.js:5:87979)
at mt (chunk-J32YIRZ2.js:7:23560)
at em (chunk-J32YIRZ2.js:7:42140)
at Hs (chunk-J32YIRZ2.js:7:37682)
at sd (chunk-J32YIRZ2.js:7:83212)
at template (main.js:14:215555)
at El (chunk-J32YIRZ2.js:7:37425)
Rebuilding the app resolved the issue for me.