0
我製作了一個空白的離子項目,並在Eclipse上的Worklight Studio中創建了Mobile First Hybrid應用程序。我已經做了必要的更改according to this blog。IBM Mobile First和Ionic
當我建立我的項目並啓動它在我的Android手機上我得到這個作爲一個錯誤:
ionic.bundle.js:13440 Uncaught Error: [$injector:modulerr] Failed to instantiate module ng due to:
TypeError: Cannot set property 'aHrefSanitizationWhitelist' of null
at $$SanitizeUriProvider (file:///android_asset/www/default/ionic/js/ionic.bundle.js:30847:35)
at new <anonymous> (file:///android_asset/www/default/worklight/worklight.js:951:20)
at Object.instantiate (file:///android_asset/www/default/ionic/js/ionic.bundle.js:18012:14)
at provider (file:///android_asset/www/default/ionic/js/ionic.bundle.js:17826:36)
at file:///android_asset/www/default/ionic/js/ionic.bundle.js:13737:32
at forEach (file:///android_asset/www/default/ionic/js/ionic.bundle.js:13707:20)
at Object.provider (file:///android_asset/www/default/ionic/js/ionic.bundle.js:17816:9)
at ngModule (file:///android_asset/www/default/ionic/js/ionic.bundle.js:15865:16)
at Object.invoke (file:///android_asset/www/default/ionic/js/ionic.bundle.js:17997:19)
at runInvokeQueue (file:///android_asset/www/default/ionic/js/ionic.bundle.js:17890:35)
http://errors.angularjs.org/1.5.3/$injector/modulerr?p0=ng&p1=TypeError%3A%…Fandroid_asset%2Fwww%2Fdefault%2Fionic%2Fjs%2Fionic.bundle.js%3A17890%3A35)
我的手機第一個版本是8,離子是1.3和角度是1.5.3。
感謝您的信息Idan ...因此,請您告訴以前版本的Mobile First + Ionic + Angular Js齊頭並進? –
現在可以使用8.0的修復程序。從Cordova項目中移除並重新添加MFP Core Cordova插件。 –
我是一個離子項目,所以我無法解決根據http://stackoverflow.com/questions/38902169/mobilefirst-v8-and-bootstrap-angular-js-v1-5-3-error –