2016-06-30 25 views
1

我在碱性离子2应用与集成火力地堡的工作。离子2:安卓:类型错误:Property对象[对象数组]的“jscomp_symbol_iterator0”不是一个函数

代码在浏览器中运行良好。但在Android中,我收到了这个错误。

EXCEPTION: Error in build/pages/home/home.html:17:37 browser_adapter.js:77 
ORIGINAL EXCEPTION: TypeError: Property 'jscomp_symbol_iterator0' of object [object Array] is not a function browser_adapter.js:77 
ORIGINAL STACKTRACE: browser_adapter.js:77 
TypeError: Property 'jscomp_symbol_iterator0' of object [object Array] is not a function 
at Object.areIterablesEqual (file:///android_asset/www/build/js/app.bundle.js:1718:50) 
at Object.devModeEqual (file:///android_asset/www/build/js/app.bundle.js:24603:29) 
at checkBinding (file:///android_asset/www/build/js/app.bundle.js:30678:33) 
at DebugAppView._View_HomePage0.detectChangesInternal (HomePage.template.js:197:7) 
at DebugAppView.AppView.detectChanges (file:///android_asset/www/build/js/app.bundle.js:30083:14) 
at DebugAppView.detectChanges (file:///android_asset/www/build/js/app.bundle.js:30188:44) 
at DebugAppView.AppView.detectViewChildrenChanges (file:///android_asset/www/build/js/app.bundle.js:30109:19) 
at DebugAppView.AppView.detectChangesInternal (file:///android_asset/www/build/js/app.bundle.js:30094:14) 
at DebugAppView.AppView.detectChanges (file:///android_asset/www/build/js/app.bundle.js:30083:14) 
at DebugAppView.detectChanges (file:///android_asset/www/build/js/app.bundle.js:30188:44) 

这是我的家/ home.html。它看起来都很好:17

<ion-header> 
<ion-navbar primary> 

    <ion-title>SO Login</ion-title> 

    <ion-buttons end> 
     <button id="create" (click)='newOrder($event)'> 
      <ion-icon id="cr" light name="add-circle"></ion-icon> 
     </button> 
    </ion-buttons> 

</ion-navbar> 
</ion-header> 

<ion-content padding class="home"> 
<ion-list> // Line 17 
    <button ion-item detail-none *ngFor="let order of orderList" (click)='orderSelected(order)'> 
     {{order.customerName}} 
    </button> 
</ion-list> 
</ion-content> 

线为specifed的错误,是指符合标签

不知道什么是错。请帮忙。

我离子信息:

Your system information: 

Cordova CLI: 6.1.0 ([email protected]) 
Gulp version: CLI version 3.9.1 
Gulp local: Local version 3.9.1 
Ionic Framework Version: 2.0.0-beta.10 
Ionic CLI Version: 2.0.0-beta.32 
Ionic App Lib Version: 2.0.0-beta.18 
ios-deploy version: Not installed 
ios-sim version: 5.0.6 
OS: Mac OS X El Capitan 
Node Version: v4.2.6 
Xcode version: Xcode 7.2 Build version 7C68 

回答

2

需要看到所有的代码,但是请检查订单加载脚本(可能的index.html);请确保您添加

es6-shim.min.js 
Reflect.js 
zone.js 

3.1.0/firebase.js

相关问题