angular2-seed-advanced: got RangeError: Maximum call stack size exceeded

angular2-seed-advanced: got RangeError: Maximum call stack size exceeded

我正在尝试 运行 未更改 angular-seed-advanced 项目在不同的平台上。 Web 和桌面(linux/windows)已编译并且 运行 正常,但是当我尝试在 android(模拟器和真实设备)上 运行 它时,我收到以下错误:

Successfully deployed on device with identifier 'emulator-5554'.
JS: ns-renderer: ERROR BOOTSTRAPPING ANGULAR
JS: ns-renderer: Maximum call stack size exceeded
JS: 
JS: RangeError: Maximum call stack size exceeded
JS:     at ScanSubscriber.Subscriber [as constructor] (/data/data/com.yourdomain.appname/files/app/tns_modules/rxjs/Subscriber.js:31:24)
JS:     at new ScanSubscriber (/data/data/com.yourdomain.appname/files/app/tns_modules/rxjs/operator/scan.js:79:16)
JS:     at ScanOperator.call (/data/data/com.yourdomain.appname/files/app/tns_modules/rxjs/operator/scan.js:67:33)
JS:     at AnonymousSubject.Observable.subscribe (/data/data/com.yourdomain.appname/files/app/tns_modules/nativescript-angular/node_modules/rxjs/Observable.js:42:22)
JS:     at ScanOperator.call (/data/data/com.yourdomain.appname/files/app/tns_modules/rxjs/operator/scan.js:67:23)
JS:     at AnonymousSubject.Observable.subscribe (/data/data/com.yourdomain.appname/files/app/tns_modules/nativescript-angular/node_modules/rxjs/Observable.js:42:22)
JS:     at ScanOperator.call (/data/data/com.yourdomain.appname/files/app/tns_modules/rxjs/operator/scan.js:67:23)
JS:     at AnonymousSubject.Observable.subscribe (/data/data/com.yourdomain.appname/files/app/tns_modules/nativescript-angular/node_modules/rxjs/Observable.js:42:22)
JS:     at ScanOperator.call (/data/data/com.yourdomain.appname/files/app/tns_modules/rxjs/operator/scan.js:67:23)
JS:     at AnonymousSubject.Observable.subscribe (/data/data/com.yourdomain.appname/files/app/tns_modules/nativescript-angular/node_modules/rxjs/Observable.js:42:22)

有人可以帮助我或提示我在哪里寻找这个问题吗?提前致谢。

作者更新了代码来解决这个问题,所以错误消失了,android 应用程序现在可以正常工作了。