WARNING: Tried to load angular more than once. Angular JS

后端 未结 23 1462
有刺的猬
有刺的猬 2020-12-01 13:57

I am trying to view my app after running Grunt Build. I use grunt serve:dist to see all production ready build but in the browser I get an infinite loop saying:

23条回答
  •  独厮守ぢ
    2020-12-01 14:03

    In my case, the cause of the warning was a redundant script inclusion of "angular-scenario.js" after "angular.js".

    When I removed "angular-scenario.js" warning disappeared.

提交回复
热议问题