Deploying app for Ubuntu

Hello!
I have some problems deploying my Ionic project for Ubuntu.
I’m using node 7.5.0, npm 4.1.2, Cordova 6.5.0, Ionic 2.0.1 and ionic-cli 2.2.1.
Executing “ionic serve” works fine, but after building it (by “ionic build ubuntu”), creating .deb package and installing it I received some errors. After executing application I see a new window, but it is entirely white.
While inspecting ./www/index.html with Chromium I saw following errors in console:

[details=Chromium console errors]> GET file:///opt/xxxxx/www/cordova_plugins.js net::ERR_FILE_NOT_FOUNDexports.injectScript @ cordova.js:1404injectIfNecessary @ cordova.js:1412exports.load @ cordova.js:1492(anonymous function) @ cordova.js:1020

wifi-manager.ts:14 no WifiWizard available.
polyfills.js:3 XMLHttpRequest cannot load file:///opt/xxxxx/www/assets/data/config.kcd. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.e @ polyfills.js:3t.scheduleTask @ polyfills.js:3e.scheduleMacroTask @ polyfills.js:3(anonymous function) @ polyfills.js:3send @ VM827:3(anonymous function) @ xhr_backend.js:117Observable.subscribe @ Observable.js:56Observable.subscribe @ Observable.js:114MapOperator.call @ map.js:54Observable.subscribe @ Observable.js:53Observable.subscribe @ Observable.js:114MapOperator.call @ map.js:54Observable.subscribe @ Observable.js:53Observable.subscribe @ Observable.js:114MapOperator.call @ map.js:54Observable.subscribe @ Observable.js:53CanDemoDataUpDown @ can-demo-data-up-down.ts:15Object.defineProperty.get @ /AppModule/module.ngfactory.js:262Object.defineProperty.get @ /AppModule/module.ngfactory.js:272AppModuleInjector.getInternal @ /AppModule/module.ngfactory.js:391NgModuleInjector.get @ ng_module_factory.js:94AppView.injectorGet @ view.js:109DebugAppView.injectorGet @ view.js:351ElementInjector.get @ element_injector.js:24AppView.injectorGet @ view.js:109DebugAppView.injectorGet @ view.js:351ElementInjector.get @ element_injector.js:24ReflectiveInjector.getByKeyDefault @ reflective_injector.js:783ReflectiveInjector.getByKey @ reflective_injector.js:749ReflectiveInjector.get @ reflective_injector.js:558AppView.injectorGet @ view.js:109DebugAppView.injectorGet @ view.js:351View_GeneralInfoPage_Host0.createInternal @ /AppModule/GeneralInfoPage/host.ngfactory.js:15AppView.createHostView @ view.js:81DebugAppView.createHostView @ view.js:341ComponentFactory.create @ component_factory.js:154NavControllerBase.viewInit @ nav-controller-base.js:408NavControllerBase.nextTrns @ nav-controller-base.js:237NavControllerBase.queueTrns @ nav-controller-base.js:208NavControllerBase.push @ nav-controller-base.js:52Nav.ngAfterViewInit @ nav.js:95View_MyApp0.detectChangesInternal @ /AppModule/MyApp/component.ngfactory.js:336AppView.detectChanges @ view.js:288DebugAppView.detectChanges @ view.js:381View_MyApp_Host0.detectChangesInternal @ /AppModule/MyApp/host.ngfactory.js:35AppView.detectChanges @ view.js:288DebugAppView.detectChanges @ view.js:381ViewRef.detectChanges @ view_ref.js:130IonicApp.ngOnInit @ app-root.js:34Wrapper_IonicApp.ngDoCheck @ /IonicModule/IonicApp/wrapper.ngfactory.js:22View_IonicApp_Host0.detectChangesInternal @ /IonicModule/IonicApp/host.ngfactory.js:28AppView.detectChanges @ view.js:288DebugAppView.detectChanges @ view.js:381ViewRef.detectChanges @ view_ref.js:130(anonymous function) @ application_ref.js:437ApplicationRef.tick @ application_ref.js:437ApplicationRef.loadComponent @ application_ref.js:415ApplicationRef.bootstrap @ application_ref.js:406(anonymous function) @ application_ref.js:308PlatformRef._moduleDoBootstrap @ application_ref.js:308(anonymous function) @ application_ref.js:276t.invoke @ polyfills.js:3inner.inner.fork.onInvoke @ ng_zone.js:236t.invoke @ polyfills.js:3e.run @ polyfills.js:3(anonymous function) @ polyfills.js:3t.invokeTask @ polyfills.js:3inner.inner.fork.onInvokeTask @ ng_zone.js:227t.invokeTask @ polyfills.js:3e.runTask @ polyfills.js:3i @ polyfills.js:3
error_handler.js:47 EXCEPTION: More tasks executed then were scheduled.ErrorHandler.handleError @ error_handler.js:47ngZone.onError.subscribe.next @ application_ref.js:272schedulerFn @ async.js:82SafeSubscriber.__tryOrUnsub @ Subscriber.js:223SafeSubscriber.next @ Subscriber.js:172Subscriber._next @ Subscriber.js:125Subscriber.next @ Subscriber.js:89Subject.next @ Subject.js:55EventEmitter.emit @ async.js:74NgZone.triggerError @ ng_zone.js:278inner.inner.fork.onHandleError @ ng_zone.js:257t.handleError @ polyfills.js:3e.runTask @ polyfills.js:3invoke @ polyfills.js:3(anonymous function) @ polyfills.js:3t.invokeTask @ polyfills.js:3inner.inner.fork.onInvokeTask @ ng_zone.js:227t.invokeTask @ polyfills.js:3e.runTask @ polyfills.js:3invoke @ polyfills.js:3e @ polyfills.js:3t.scheduleTask @ polyfills.js:3e.scheduleMacroTask @ polyfills.js:3(anonymous function) @ polyfills.js:3send @ VM827:3(anonymous function) @ xhr_backend.js:117Observable.subscribe @ Observable.js:56Observable.subscribe @ Observable.js:114MapOperator.call @ map.js:54Observable.subscribe @ Observable.js:53Observable.subscribe @ Observable.js:114MapOperator.call @ map.js:54Observable.subscribe @ Observable.js:53Observable.subscribe @ Observable.js:114MapOperator.call @ map.js:54Observable.subscribe @ Observable.js:53CanDemoDataUpDown @ can-demo-data-up-down.ts:15Object.defineProperty.get @ /AppModule/module.ngfactory.js:262Object.defineProperty.get @ /AppModule/module.ngfactory.js:272AppModuleInjector.getInternal @ /AppModule/module.ngfactory.js:391NgModuleInjector.get @ ng_module_factory.js:94AppView.injectorGet @ view.js:109DebugAppView.injectorGet @ view.js:351ElementInjector.get @ element_injector.js:24AppView.injectorGet @ view.js:109DebugAppView.injectorGet @ view.js:351ElementInjector.get @ element_injector.js:24ReflectiveInjector.getByKeyDefault @ reflective_injector.js:783ReflectiveInjector.getByKey @ reflective_injector.js:749ReflectiveInjector.get @ reflective_injector.js:558AppView.injectorGet @ view.js:109DebugAppView.injectorGet @ view.js:351View_GeneralInfoPage_Host0.createInternal @ /AppModule/GeneralInfoPage/host.ngfactory.js:15AppView.createHostView @ view.js:81DebugAppView.createHostView @ view.js:341ComponentFactory.create @ component_factory.js:154NavControllerBase.viewInit @ nav-controller-base.js:408NavControllerBase.nextTrns @ nav-controller-base.js:237NavControllerBase.queueTrns @ nav-controller-base.js:208NavControllerBase.push @ nav-controller-base.js:52Nav.ngAfterViewInit @ nav.js:95View_MyApp0.detectChangesInternal @ /AppModule/MyApp/component.ngfactory.js:336AppView.detectChanges @ view.js:288DebugAppView.detectChanges @ view.js:381View_MyApp_Host0.detectChangesInternal @ /AppModule/MyApp/host.ngfactory.js:35AppView.detectChanges @ view.js:288DebugAppView.detectChanges @ view.js:381ViewRef.detectChanges @ view_ref.js:130IonicApp.ngOnInit @ app-root.js:34Wrapper_IonicApp.ngDoCheck @ /IonicModule/IonicApp/wrapper.ngfactory.js:22View_IonicApp_Host0.detectChangesInternal @ /IonicModule/IonicApp/host.ngfactory.js:28AppView.detectChanges @ view.js:288DebugAppView.detectChanges @ view.js:381ViewRef.detectChanges @ view_ref.js:130(anonymous function) @ application_ref.js:437ApplicationRef.tick @ application_ref.js:437ApplicationRef.loadComponent @ application_ref.js:415ApplicationRef.bootstrap @ application_ref.js:406(anonymous function) @ application_ref.js:308PlatformRef._moduleDoBootstrap @ application_ref.js:308(anonymous function) @ application_ref.js:276t.invoke @ polyfills.js:3inner.inner.fork.onInvoke @ ng_zone.js:236t.invoke @ polyfills.js:3e.run @ polyfills.js:3(anonymous function) @ polyfills.js:3t.invokeTask @ polyfills.js:3inner.inner.fork.onInvokeTask @ ng_zone.js:227t.invokeTask @ polyfills.js:3e.runTask @ polyfills.js:3i @ polyfills.js:3
error_handler.js:52 ORIGINAL STACKTRACE:ErrorHandler.handleError @ error_handler.js:52ngZone.onError.subscribe.next @ application_ref.js:272schedulerFn @ async.js:82SafeSubscriber.__tryOrUnsub @ Subscriber.js:223SafeSubscriber.next @ Subscriber.js:172Subscriber._next @ Subscriber.js:125Subscriber.next @ Subscriber.js:89Subject.next @ Subject.js:55EventEmitter.emit @ async.js:74NgZone.triggerError @ ng_zone.js:278inner.inner.fork.onHandleError @ ng_zone.js:257t.handleError @ polyfills.js:3e.runTask @ polyfills.js:3invoke @ polyfills.js:3(anonymous function) @ polyfills.js:3t.invokeTask @ polyfills.js:3inner.inner.fork.onInvokeTask @ ng_zone.js:227t.invokeTask @ polyfills.js:3e.runTask @ polyfills.js:3invoke @ polyfills.js:3e @ polyfills.js:3t.scheduleTask @ polyfills.js:3e.scheduleMacroTask @ polyfills.js:3(anonymous function) @ polyfills.js:3send @ VM827:3(anonymous function) @ xhr_backend.js:117Observable.subscribe @ Observable.js:56Observable.subscribe @ Observable.js:114MapOperator.call @ map.js:54Observable.subscribe @ Observable.js:53Observable.subscribe @ Observable.js:114MapOperator.call @ map.js:54Observable.subscribe @ Observable.js:53Observable.subscribe @ Observable.js:114MapOperator.call @ map.js:54Observable.subscribe @ Observable.js:53CanDemoDataUpDown @ can-demo-data-up-down.ts:15Object.defineProperty.get @ /AppModule/module.ngfactory.js:262Object.defineProperty.get @ /AppModule/module.ngfactory.js:272AppModuleInjector.getInternal @ /AppModule/module.ngfactory.js:391NgModuleInjector.get @ ng_module_factory.js:94AppView.injectorGet @ view.js:109DebugAppView.injectorGet @ view.js:351ElementInjector.get @ element_injector.js:24AppView.injectorGet @ view.js:109DebugAppView.injectorGet @ view.js:351ElementInjector.get @ element_injector.js:24ReflectiveInjector.getByKeyDefault @ reflective_injector.js:783ReflectiveInjector.getByKey @ reflective_injector.js:749ReflectiveInjector.get @ reflective_injector.js:558AppView.injectorGet @ view.js:109DebugAppView.injectorGet @ view.js:351View_GeneralInfoPage_Host0.createInternal @ /AppModule/GeneralInfoPage/host.ngfactory.js:15AppView.createHostView @ view.js:81DebugAppView.createHostView @ view.js:341ComponentFactory.create @ component_factory.js:154NavControllerBase.viewInit @ nav-controller-base.js:408NavControllerBase.nextTrns @ nav-controller-base.js:237NavControllerBase.queueTrns @ nav-controller-base.js:208NavControllerBase.push @ nav-controller-base.js:52Nav.ngAfterViewInit @ nav.js:95View_MyApp0.detectChangesInternal @ /AppModule/MyApp/component.ngfactory.js:336AppView.detectChanges @ view.js:288DebugAppView.detectChanges @ view.js:381View_MyApp_Host0.detectChangesInternal @ /AppModule/MyApp/host.ngfactory.js:35AppView.detectChanges @ view.js:288DebugAppView.detectChanges @ view.js:381ViewRef.detectChanges @ view_ref.js:130IonicApp.ngOnInit @ app-root.js:34Wrapper_IonicApp.ngDoCheck @ /IonicModule/IonicApp/wrapper.ngfactory.js:22View_IonicApp_Host0.detectChangesInternal @ /IonicModule/IonicApp/host.ngfactory.js:28AppView.detectChanges @ view.js:288DebugAppView.detectChanges @ view.js:381ViewRef.detectChanges @ view_ref.js:130(anonymous function) @ application_ref.js:437ApplicationRef.tick @ application_ref.js:437ApplicationRef.loadComponent @ application_ref.js:415ApplicationRef.bootstrap @ application_ref.js:406(anonymous function) @ application_ref.js:308PlatformRef._moduleDoBootstrap @ application_ref.js:308(anonymous function) @ application_ref.js:276t.invoke @ polyfills.js:3inner.inner.fork.onInvoke @ ng_zone.js:236t.invoke @ polyfills.js:3e.run @ polyfills.js:3(anonymous function) @ polyfills.js:3t.invokeTask @ polyfills.js:3inner.inner.fork.onInvokeTask @ ng_zone.js:227t.invokeTask @ polyfills.js:3e.runTask @ polyfills.js:3i @ polyfills.js:3
error_handler.js:53 Error: More tasks executed then were scheduled.
at t._updateTaskCount (polyfills.js:3)
at t.invokeTask (polyfills.js:3)
at e.runTask (polyfills.js:3)
at t.invoke (polyfills.js:3)
at XMLHttpRequest. (polyfills.js:3)
at t.invokeTask (polyfills.js:3)
at Object.inner.inner.fork.onInvokeTask (ng_zone.js:227)
at t.invokeTask (polyfills.js:3)
at e.runTask (polyfills.js:3)
at XMLHttpRequest.invoke (polyfills.js:3)ErrorHandler.handleError @ error_handler.js:53ngZone.onError.subscribe.next @ application_ref.js:272schedulerFn @ async.js:82SafeSubscriber.__tryOrUnsub @ Subscriber.js:223SafeSubscriber.next @ Subscriber.js:172Subscriber._next @ Subscriber.js:125Subscriber.next @ Subscriber.js:89Subject.next @ Subject.js:55EventEmitter.emit @ async.js:74NgZone.triggerError @ ng_zone.js:278inner.inner.fork.onHandleError @ ng_zone.js:257t.handleError @ polyfills.js:3e.runTask @ polyfills.js:3invoke @ polyfills.js:3(anonymous function) @ polyfills.js:3t.invokeTask @ polyfills.js:3inner.inner.fork.onInvokeTask @ ng_zone.js:227t.invokeTask @ polyfills.js:3e.runTask @ polyfills.js:3invoke @ polyfills.js:3e @ polyfills.js:3t.scheduleTask @ polyfills.js:3e.scheduleMacroTask @ polyfills.js:3(anonymous function) @ polyfills.js:3send @ VM827:3(anonymous function) @ xhr_backend.js:117Observable.subscribe @ Observable.js:56Observable.subscribe @ Observable.js:114MapOperator.call @ map.js:54Observable.subscribe @ Observable.js:53Observable.subscribe @ Observable.js:114MapOperator.call @ map.js:54Observable.subscribe @ Observable.js:53Observable.subscribe @ Observable.js:114MapOperator.call @ map.js:54Observable.subscribe @ Observable.js:53CanDemoDataUpDown @ can-demo-data-up-down.ts:15Object.defineProperty.get @ /AppModule/module.ngfactory.js:262Object.defineProperty.get @ /AppModule/module.ngfactory.js:272AppModuleInjector.getInternal @ /AppModule/module.ngfactory.js:391NgModuleInjector.get @ ng_module_factory.js:94AppView.injectorGet @ view.js:109DebugAppView.injectorGet @ view.js:351ElementInjector.get @ element_injector.js:24AppView.injectorGet @ view.js:109DebugAppView.injectorGet @ view.js:351ElementInjector.get @ element_injector.js:24ReflectiveInjector.getByKeyDefault @ reflective_injector.js:783ReflectiveInjector.getByKey @ reflective_injector.js:749ReflectiveInjector.get @ reflective_injector.js:558AppView.injectorGet @ view.js:109DebugAppView.injectorGet @ view.js:351View_GeneralInfoPage_Host0.createInternal @ /AppModule/GeneralInfoPage/host.ngfactory.js:15AppView.createHostView @ view.js:81DebugAppView.createHostView @ view.js:341ComponentFactory.create @ component_factory.js:154NavControllerBase.viewInit @ nav-controller-base.js:408NavControllerBase.nextTrns @ nav-controller-base.js:237NavControllerBase.queueTrns @ nav-controller-base.js:208NavControllerBase.push @ nav-controller-base.js:52Nav.ngAfterViewInit @ nav.js:95View_MyApp0.detectChangesInternal @ /AppModule/MyApp/component.ngfactory.js:336AppView.detectChanges @ view.js:288DebugAppView.detectChanges @ view.js:381View_MyApp_Host0.detectChangesInternal @ /AppModule/MyApp/host.ngfactory.js:35AppView.detectChanges @ view.js:288DebugAppView.detectChanges @ view.js:381ViewRef.detectChanges @ view_ref.js:130IonicApp.ngOnInit @ app-root.js:34Wrapper_IonicApp.ngDoCheck @ /IonicModule/IonicApp/wrapper.ngfactory.js:22View_IonicApp_Host0.detectChangesInternal @ /IonicModule/IonicApp/host.ngfactory.js:28AppView.detectChanges @ view.js:288DebugAppView.detectChanges @ view.js:381ViewRef.detectChanges @ view_ref.js:130(anonymous function) @ application_ref.js:437ApplicationRef.tick @ application_ref.js:437ApplicationRef.loadComponent @ application_ref.js:415ApplicationRef.bootstrap @ application_ref.js:406(anonymous function) @ application_ref.js:308PlatformRef._moduleDoBootstrap @ application_ref.js:308(anonymous function) @ application_ref.js:276t.invoke @ polyfills.js:3inner.inner.fork.onInvoke @ ng_zone.js:236t.invoke @ polyfills.js:3e.run @ polyfills.js:3(anonymous function) @ polyfills.js:3t.invokeTask @ polyfills.js:3inner.inner.fork.onInvokeTask @ ng_zone.js:227t.invokeTask @ polyfills.js:3e.runTask @ polyfills.js:3i @ polyfills.js:3
error_handler.js:47EXCEPTION: Error in ./MyApp class MyApp - inline template:23:0 caused by: Response with status: 0 for URL: nullErrorHandler.handleError @ error_handler.js:47(anonymous function) @ application_ref.js:210t.invoke @ polyfills.js:3inner.inner.fork.onInvoke @ ng_zone.js:236t.invoke @ polyfills.js:3e.run @ polyfills.js:3(anonymous function) @ polyfills.js:3t.invokeTask @ polyfills.js:3inner.inner.fork.onInvokeTask @ ng_zone.js:227t.invokeTask @ polyfills.js:3e.runTask @ polyfills.js:3i @ polyfills.js:3
error_handler.js:49ORIGINAL EXCEPTION: Response with status: 0 for URL: nullErrorHandler.handleError @ error_handler.js:49(anonymous function) @ application_ref.js:210t.invoke @ polyfills.js:3inner.inner.fork.onInvoke @ ng_zone.js:236t.invoke @ polyfills.js:3e.run @ polyfills.js:3(anonymous function) @ polyfills.js:3t.invokeTask @ polyfills.js:3inner.inner.fork.onInvokeTask @ ng_zone.js:227t.invokeTask @ polyfills.js:3e.runTask @ polyfills.js:3i @ polyfills.js:3
error_handler.js:52ORIGINAL STACKTRACE:ErrorHandler.handleError @ error_handler.js:52(anonymous function) @ application_ref.js:210t.invoke @ polyfills.js:3inner.inner.fork.onInvoke @ ng_zone.js:236t.invoke @ polyfills.js:3e.run @ polyfills.js:3(anonymous function) @ polyfills.js:3t.invokeTask @ polyfills.js:3inner.inner.fork.onInvokeTask @ ng_zone.js:227t.invokeTask @ polyfills.js:3e.runTask @ polyfills.js:3i @ polyfills.js:3
error_handler.js:53Error: Error in ./MyApp class MyApp - inline template:23:0 caused by: Response with status: 0 for URL: null
at ViewWrappedError.Error (native)
at ViewWrappedError.BaseError [as constructor] (file:///opt/xxxxx/www/build/main.js:8290:34)
at ViewWrappedError.WrappedError [as constructor] (file:///opt/xxxxx/www/build/main.js:8319:16)
at new ViewWrappedError (file:///opt/xxxxx/www/build/main.js:58197:16)
at DebugAppView.rethrowWithContext (file:///opt/xxxxx/www/build/main.js:107533:23)
at DebugAppView.detectChanges (file:///opt/xxxxx/www/build/main.js:107519:18)
at DebugAppView.View_MyApp_Host0.detectChangesInternal (/AppModule/MyApp/host.ngfactory.js:35:19)
at DebugAppView.AppView.detectChanges (file:///opt/xxxxx/www/build/main.js:107423:14)
at DebugAppView.detectChanges (file:///opt/xxxxx/www/build/main.js:107516:44)
at ViewRef
.detectChanges (file:///opt/xxxxx/www/build/main.js:58798:20)ErrorHandler.handleError @ error_handler.js:53(anonymous function) @ application_ref.js:210t.invoke @ polyfills.js:3inner.inner.fork.onInvoke @ ng_zone.js:236t.invoke @ polyfills.js:3e.run @ polyfills.js:3(anonymous function) @ polyfills.js:3t.invokeTask @ polyfills.js:3inner.inner.fork.onInvokeTask @ ng_zone.js:227t.invokeTask @ polyfills.js:3e.runTask @ polyfills.js:3i @ polyfills.js:3
error_handler.js:56ERROR CONTEXT:ErrorHandler.handleError @ error_handler.js:56(anonymous function) @ application_ref.js:210t.invoke @ polyfills.js:3inner.inner.fork.onInvoke @ ng_zone.js:236t.invoke @ polyfills.js:3e.run @ polyfills.js:3(anonymous function) @ polyfills.js:3t.invokeTask @ polyfills.js:3inner.inner.fork.onInvokeTask @ ng_zone.js:227t.invokeTask @ polyfills.js:3e.runTask @ polyfills.js:3i @ polyfills.js:3
error_handler.js:57DebugContext {_view: C…e.proxyViewClass, _nodeIndex: 29, _tplRow: 23, _tplCol: 0}ErrorHandler.handleError @ error_handler.js:57(anonymous function) @ application_ref.js:210t.invoke @ polyfills.js:3inner.inner.fork.onInvoke @ ng_zone.js:236t.invoke @ polyfills.js:3e.run @ polyfills.js:3(anonymous function) @ polyfills.js:3t.invokeTask @ polyfills.js:3inner.inner.fork.onInvokeTask @ ng_zone.js:227t.invokeTask @ polyfills.js:3e.runTask @ polyfills.js:3i @ polyfills.js:3
wifi-manager.ts:14no WifiWizard available.
polyfills.js:3 XMLHttpRequest cannot load file:///opt/xxxxx/www/assets/data/config.kcd. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.e @ polyfills.js:3t.scheduleTask @ polyfills.js:3e.scheduleMacroTask @ polyfills.js:3(anonymous function) @ polyfills.js:3send @ VM827:3(anonymous function) @ xhr_backend.js:117Observable.subscribe @ Observable.js:56Observable._subscribe @ Observable.js:114MapOperator.call @ map.js:54Observable.subscribe @ Observable.js:53Observable.subscribe @ Observable.js:114MapOperator.call @ map.js:54Observable.subscribe @ Observable.js:53Observable.subscribe @ Observable.js:114MapOperator.call @ map.js:54Observable.subscribe @ Observable.js:53CanDemoDataUpDown @ can-demo-data-up-down.ts:15Object.defineProperty.get @ /AppModule/module.ngfactory.js:262Object.defineProperty.get @ /AppModule/module.ngfactory.js:272AppModuleInjector.getInternal @ /AppModule/module.ngfactory.js:391NgModuleInjector.get @ ng_module_factory.js:94AppView.injectorGet @ view.js:109DebugAppView.injectorGet @ view.js:351ElementInjector.get @ element_injector.js:24AppView.injectorGet @ view.js:109DebugAppView.injectorGet @ view.js:351ElementInjector.get @ element_injector.js:24ReflectiveInjector.getByKeyDefault @ reflective_injector.js:783ReflectiveInjector.getByKey @ reflective_injector.js:749ReflectiveInjector.get @ reflective_injector.js:558AppView.injectorGet @ view.js:109DebugAppView.injectorGet @ view.js:351View_GeneralInfoPage_Host0.createInternal @ /AppModule/GeneralInfoPage/host.ngfactory.js:15AppView.createHostView @ view.js:81DebugAppView.createHostView @ view.js:341ComponentFactory.create @ component_factory.js:154NavControllerBase.viewInit @ nav-controller-base.js:408NavControllerBase.nextTrns @ nav-controller-base.js:237NavControllerBase.queueTrns @ nav-controller-base.js:208NavControllerBase.push @ nav-controller-base.js:52Nav.ngAfterViewInit @ nav.js:95View_MyApp0.detectChangesInternal @ /AppModule/MyApp/component.ngfactory.js:336AppView.detectChanges @ view.js:288DebugAppView.detectChanges @ view.js:381View_MyApp_Host0.detectChangesInternal @ /AppModule/MyApp/host.ngfactory.js:35AppView.detectChanges @ view.js:288DebugAppView.detectChanges @ view.js:381ViewRef.detectChanges @ view_ref.js:130IonicApp.ngOnInit @ app-root.js:34Wrapper_IonicApp.ngDoCheck @ /IonicModule/IonicApp/wrapper.ngfactory.js:22View_IonicApp_Host0.detectChangesInternal @ /IonicModule/IonicApp/host.ngfactory.js:28AppView.detectChanges @ view.js:288DebugAppView.detectChanges @ view.js:381ViewRef.detectChanges @ view_ref.js:130(anonymous function) @ application_ref.js:437ApplicationRef.tick @ application_ref.js:437(anonymous function) @ application_ref.js:378t.invoke @ polyfills.js:3inner.inner.fork.onInvoke @ ng_zone.js:236t.invoke @ polyfills.js:3e.run @ polyfills.js:3NgZone.run @ ng_zone.js:126ApplicationRef._zone.onMicrotaskEmpty.subscribe.next @ application_ref.js:378schedulerFn @ async.js:82SafeSubscriber.__tryOrUnsub @ Subscriber.js:223SafeSubscriber.next @ Subscriber.js:172Subscriber._next @ Subscriber.js:125Subscriber.next @ Subscriber.js:89Subject.next @ Subject.js:55EventEmitter.emit @ async.js:74NgZone.checkStable @ ng_zone.js:204NgZone.setHasMicrotask @ ng_zone.js:275inner.inner.fork.onHasTask @ ng_zone.js:248t.hasTask @ polyfills.js:3t._updateTaskCount @ polyfills.js:3t.invokeTask @ polyfills.js:3e.runTask @ polyfills.js:3i @ polyfills.js:3
polyfills.js:3 Unhandled Promise rejection: Error in ./MyApp class MyApp - inline template:23:0 caused by: Response with status: 0 for URL: null ; Zone: ; Task: Promise.then ; Value: ViewWrappedError {_nativeError: Error: Error in ./MyApp class MyApp - inline template:23:0 caused by: Response with status: 0 for U…, originalError: Response, context: DebugContext} Error: Error in ./MyApp class MyApp - inline template:23:0 caused by: Response with status: 0 for URL: null
at ViewWrappedError.Error (native)
at ViewWrappedError.BaseError [as constructor] (file:///opt/xxxxx/www/build/main.js:8290:34)
at ViewWrappedError.WrappedError [as constructor] (file:///opt/xxxxx/www/build/main.js:8319:16)
at new ViewWrappedError (file:///opt/xxxxx/www/build/main.js:58197:16)
at DebugAppView.rethrowWithContext (file:///opt/xxxxx/www/build/main.js:107533:23)
at DebugAppView.detectChanges (file:///opt/xxxxx/www/build/main.js:107519:18)
at DebugAppView.View_MyApp_Host0.detectChangesInternal (/AppModule/MyApp/host.ngfactory.js:35:19)
at DebugAppView.AppView.detectChanges (file:///opt/xxxxx/www/build/main.js:107423:14)
at DebugAppView.detectChanges (file:///opt/xxxxx/www/build/main.js:107516:44)
at ViewRef
.detectChanges (file:///opt/xxxxx/www/build/main.js:58798:20)o @ polyfills.js:3r @ polyfills.js:3i @ polyfills.js:3
polyfills.js:3 Error: Uncaught (in promise): Error: Error in ./MyApp class MyApp - inline template:23:0 caused by: Response with status: 0 for URL: null(…)o @ polyfills.js:3r @ polyfills.js:3i @ polyfills.js:3
cordova.js:942 deviceready has not fired after 5 seconds.
index.js:383 Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.
index.js:378 DEVICE READY FIRED AFTER 13274 ms
[/details]

I also tried to build it by “ionic build ubuntu --prod --release”, but during this process I received following error:

[details=Ionic build errors]> [04:41:39] build prod failed: Unexpected value ‘nvD3’ declared by the module ‘AppModule’

[04:41:39] ionic-app-script task: “build”
[04:41:39] Error: Unexpected value ‘nvD3’ declared by the module ‘AppModule’
Error: Unexpected value ‘nvD3’ declared by the module ‘AppModule’
at /home/ubuntu/xxxxx/node_modules/@angular/compiler/bundles/compiler.umd.js:14722:29
at Array.forEach (native)
at CompileMetadataResolver._loadNgModuleMetadata (/home/ubuntu/xxxxx/node_modules/@angular/compiler/bundles/compiler.umd.js:14702:56)
at CompileMetadataResolver.getUnloadedNgModuleMetadata (/home/ubuntu/xxxxx/node_modules/@angular/compiler/bundles/compiler.umd.js:14636:23)
at addNgModule (/home/ubuntu/xxxxx/node_modules/@angular/compiler/bundles/compiler.umd.js:12944:43)
at /home/ubuntu/xxxxx/node_modules/@angular/compiler/bundles/compiler.umd.js:12957:16
at Array.forEach (native)
at _createNgModules (/home/ubuntu/xxxxx/node_modules/@angular/compiler/bundles/compiler.umd.js:12956:28)
at analyzeNgModules (/home/ubuntu/xxxxx/node_modules/@angular/compiler/bundles/compiler.umd.js:12700:16)
at analyzeAndValidateNgModules (/home/ubuntu/xxxxx/node_modules/@angular/compiler/bundles/compiler.umd.js:12704:20)
[/details]

Deploying my Ionic project for Android and iOS works fine.

Does anyone know how it can be fixed?
Thanks in advance!