angular11 报这个错
資深大佬 : zxCoder 10
core.js:6162 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'contexts' of null TypeError: Cannot read property 'contexts' of null at ActivateRoutes.activateRoutes (router.js:2110) at router.js:2080 at Array.forEach (<anonymous>) at ActivateRoutes.activateChildRoutes (router.js:2079) at ActivateRoutes.activate (router.js:2005) at MapSubscriber.project (router.js:1990) at MapSubscriber._next (map.js:29) at MapSubscriber.next (Subscriber.js:49) at TapSubscriber._next (tap.js:46) at TapSubscriber.next (Subscriber.js:49) at resolvePromise (zone-evergreen.js:1213) at resolvePromise (zone-evergreen.js:1167) at zone-evergreen.js:1279 at ZoneDelegate.invokeTask (zone-evergreen.js:406) at Object.onInvokeTask (core.js:28497) at ZoneDelegate.invokeTask (zone-evergreen.js:405) at Zone.runTask (zone-evergreen.js:178) at drainMicroTaskQueue (zone-evergreen.js:582) at ZoneTask.invokeTask [as invoke] (zone-evergreen.js:491) at invokeTask (zone-evergreen.js:1600)
实在没头绪。。。项目在另一个系统(Linux)下跑的好好的,换到 Windows 的 WSL 之后,现在启动后 Edge 浏览器正常,Chrome 就无法正常显示页面,报这个错,谷歌也没查到相关的,不知道可能是什么问题
大佬有話說 (1)