angular2 Uncaught TypeError: Cannot read property 'isDefaultChangeDetectionStrategy' in Chrome

后端 未结 1 1643
没有蜡笔的小新
没有蜡笔的小新 2021-01-26 05:41

My app local works in local and used to work in production. However, I get this error on console in production.

main.fd49057….bundle.js:57 Uncaught TypeError: C         


        
相关标签:
1条回答
  • 2021-01-26 06:24

    Check your version of angular and make sure it matches all the other related libraries. I had the same issue when I added Angular 4's core library. I doesn't hold the angular core object in the same property as the previous versions. I hope that helps.

    0 讨论(0)
提交回复
热议问题