0
即時通過angularjs 1.4.9構建一個應用程序樣板。現在我加入通過角動畫「涼亭安裝角動畫」從那以後,每一個「咕嚕手錶」在結束時出現錯誤:angular-animate打破了我的Boilerplate App
Firefox 43.0.0 (Windows 10 0.0.0) AppCtrl isCurrentUrl should pass a dummy test FAILED
minErr/<@C:/path/to/app/src/main/webapp/app/vendor/angular/angular.js:68:12
我的瀏覽器錯誤堆棧的樣子:
Uncaught Error: [$injector:modulerr] Failed to instantiate module ngBoilerplate due to: Error: [$injector:modulerr] Failed to instantiate module ngBoilerplate.briefings_create due to: Error: [$injector:modulerr] Failed to instantiate module ngAnimate due to: Error: [$injector:nomod] Module 'ngAnimate' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument. http://errors.angularjs.org/1.4.9/$injector/nomod?p0=ngAnimate at http://localhost:8080/path/to/app/vendor/angular/angular.js:68:12 at http://localhost:8080/path/to/app/vendor/angular/angular.js:2006:17 at ensure (http://localhost:8080/path/to/app/vendor/angular/angular.js:1930:38) at module (http://localhost:8080/path/to/app/vendor/angular/angular.js:2004:14) at http://localhost:8080/path/to/app/vendor/angular/angular.js:4447:22 at forEach (http://localhost:8080/path/to/app/vendor/angular/angular.js:341:20) at loadModules (http://localhost:8080/path/to/app/vendor/angular/angular.js:4431:5) at http://localhost:8080/path/to/app/vendor/angular/angular.js:4448:40 at forEach (http://localhost:8080/path/to/app/vendor/angular/angular.js:341:20) at loadModules (http://localhost:8080/path/to/app/vendor/angular/angular.js:4431:5) http://errors.angularjs.org/1.4.9/$injector/modulerr?p0=ngAnimate&p1=Error%…80%2Fpath%2Fto%2F%2Fapp%2Fvendor%2Fangular%2Fangular.js%3A4431%3A5) at http://localhost:8080/path/to/app/vendor/angular/angular.js:68:12 at http://localhost:8080/path/to/app/vendor/angular/angular.js:4470:15 at forEach (http://localhost:8080/path/to/app/vendor/angular/angular.js:341:20) at loadModules (http://localhost:8080/path/to/app/vendor/angular/angular.js:4431:5) at http://localhost:8080/path/to/app/vendor/angular/angular.js:4448:40 at forEach (http://localhost:8080/path/to/app/vendor/angular/angular.js:341:20) at loadModules (http://localhost:8080/path/to/app/vendor/angular/angular.js:4431:5) at http://localhost:8080/path/to/app/vendor/angular/angular.js:4448:40 at forEach (http://localhost:8080/path/to/app/vendor/angular/angular.js:341:20) at loadModules (http://localhost:8080/path/to/app/vendor/angular/angular.js:4431:5) http://errors.angularjs.org/1.4.9/$injector/modulerr?p0=ngBoilerplate.brief…80%2Fpath%2Fto%2F%2Fapp%2Fvendor%2Fangular%2Fangular.js%3A4431%3A5) at http://localhost:8080/path/to/app/vendor/angular/angular.js:68:12 at http://localhost:8080/path/to/app/vendor/angular/angular.js:4470:15 at forEach (http://localhost:8080/path/to/app/vendor/angular/angular.js:341:20) at loadModules (http://localhost:8080/path/to/app/vendor/angular/angular.js:4431:5) at http://localhost:8080/path/to/app/vendor/angular/angular.js:4448:40 at forEach (http://localhost:8080/path/to/app/vendor/angular/angular.js:341:20) at loadModules (http://localhost:8080/path/to/app/vendor/angular/angular.js:4431:5) at createInjector (http://localhost:8080/path/to/app/vendor/angular/angular.js:4356:11) at doBootstrap (http://localhost:8080/path/to/app/vendor/angular/angular.js:1677:20) at bootstrap (http://localhost:8080/path/to/app/vendor/angular/angular.js:1698:12) http://errors.angularjs.org/1.4.9/$injector/modulerr?p0=ngBoilerplate&p1=Er…0%2Fpath%2Fto%2Fapp%2Fvendor%2Fangular%2Fangular.js%3A1698%3A12)(anonymous function) @ angular.js:68(anonymous function) @ angular.js:4470forEach @ angular.js:341loadModules @ angular.js:4431createInjector @ angular.js:4356doBootstrap @ angular.js:1677bootstrap @ angular.js:1698angularInit @ angular.js:1592(anonymous function) @ angular.js:29652trigger @ angular.js:3069defaultHandlerWrapper @ angular.js:3358eventHandler @ angular.js:3346
即使如果我再次卸載angular-animate,則錯誤仍然存在。我無法找到任何解決這個問題的網絡。
這可能是一個業障問題或涼亭相關?
感謝您的幫助!
添