Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
Undetermined
-
Description
After selecting the "AngularJs" library in the OWA generator, it successfully creates / generates all the required files needed to build a webapp (scaffolding) in the particular directory. It also doesn't show any building or deploying errors. But at the time of selecting the particular webapp from the owa module (in the openmrs running instance), it gives a blank page showing errors in the console window. These errors are to be removed.
Reference link : https://docs.angularjs.org/error/$injector/unpr?p0=undefined
The error text is shown below :
vendor.bundle.js:33519 WARNING: Tried to load angular more than once.
vendor.bundle.js:5068 Uncaught Error: [$injector:unpr] Unknown provider: $$HashMapProvider <- $$HashMap <- $$animateQueue <- $animate <- $compile <- $$animateQueue
http://errors.angularjs.org/1.6.4/$injector/unpr?p0=%24%24HashMapProvider%2…eQueue%20%3C-%20%24animate%20%3C-%20%24compile%20%3C-%20%24%24animateQueue
at vendor.bundle.js:184
at vendor.bundle.js:4907
at Object.getService [as get] (vendor.bundle.js:5062)
at vendor.bundle.js:4912
at getService (vendor.bundle.js:5062)
at injectionArgs (vendor.bundle.js:5087)
at Object.invoke (vendor.bundle.js:5113)
at vendor.bundle.js:4913
at getService (vendor.bundle.js:5062)
at injectionArgs (vendor.bundle.js:5087)