ionic3

Ionic 3 Project does not have config.xml

时光总嘲笑我的痴心妄想 提交于 2019-12-01 03:34:13
I was trying to follow this tutorial: https://www.youtube.com/watch?v=SOOjamH1bAA . But I couldn't even begin, because from what it looks like, my project does not have a config.xml file and I tried looking up the documentation online, and it says nothing about it, I also tried searching how to generate it, didn't find anything, why am I missing this config.xml? how to generate this file? Here's a link to display where its supposed to be, and it's not there: heres the ionic info output: Ionic: ionic (Ionic CLI) : 4.1.1 (C:\Users\Publio\AppData\Roaming\npm\node_modules\ionic) Ionic Framework :

Ionic 3 lazy loading make lag with large html file

允我心安 提交于 2019-12-01 03:15:50
问题 i am using ionic 3 in my project and i have some problems with lazy load. I have a ResultPage with the template resultpage.html has more than 1000 html lines code. In the HomePage i want to navigate to ResultPage by navCtrl.setRoot . When i call it, the screen freeze in 3-4s before take me to the ResultPage . It is really a bad UX. It only happen with lagre teamplate and in the first time i enter that page. I decide to remove lazy load in ResultPage and the lag disapear. I don't know is it a

Cannot find module node_modules\@ionic\app-scripts IONIC 3

*爱你&永不变心* 提交于 2019-12-01 02:51:24
问题 I have installed npm 3.10.10 then i have installed ionic 3.9.2 and cordova 7.0.1 . i have tried the following steps: ionic start newProject (selected a tabs project) ionic serve this command will throw the error Error: Cannot find module 'E:\firstProject\node_modules\@ionic\app-scripts' i found only this thread Error: Cannot find module '@ionic/app-scripts'. i don't want to downgrade my nodejs version,as i want to use latest feature but i tried, npm i @ionic/app-scripts ( SAG Answer ) i'm

Ionic 2 device ready did not fire within 2000ms

ぐ巨炮叔叔 提交于 2019-12-01 02:34:41
I'm working within ionic 2 beta 11 on IOS platforms after run the app using ionic run ios a white screen appear and got the below message: Native: deviceready did not fire within 2000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them. Any suggestion about that ? What's the problem exactly ? This could be happening due to several issues, so you'd have to try a few things: Reinstall the platform by running ionic state reset --platform Reinstall your plugins by running ionic state reset --plugins before doing this please check

Ionic Uncaught (in promise): invalid link

爷,独闯天下 提交于 2019-12-01 01:56:19
问题 i have propably problem with this.nav.push in Ionic. I have done a login/registration page but when i login i get this error message. I have to add code from login.ts and e.g home.ts(which is main page) ? Runtime Error Uncaught (in promise): invalid link: HomePage Error: Uncaught (in promise): invalid link: HomePage at d (http://localhost:8100/build/polyfills.js:3:3991) at l (http://localhost:8100/build/polyfills.js:3:3244) at Object.reject (http://localhost:8100/build/polyfills.js:3:2600) at

Ionic 3 Android Build Error (could not find support-v4.jar)

可紊 提交于 2019-12-01 01:26:22
I have an Ionic 3 app that has built fine on dev machines for quite a while. Today we tried a new machine and it doesn't build there. It is using an older cordova-android version (6.1.2), but I would think it would still build. The error I'm seeing is below: > ionic cordova build android ... * What went wrong: A problem occurred configuring root project 'android'. > Could not find support-v4.jar (com.android.support:support-v4:26.1.0). Searched in the following locations: https://jcenter.bintray.com/com/android/support/support-v4/26.1.0/support-v4-26.1.0.jar One other piece of background info.

Adding angular material theme into ionic 3

混江龙づ霸主 提交于 2019-12-01 00:45:10
How can I get angular material theme included in my app. I tried @import '~@angular/material/prebuilt-themes/indigo-pink.css' in variable.scss and tried using the path in styleUrls of my app module as well. Tried using '../../node_modules/@angular/material/prebuilt-themes/indigo-pink.css' as well. In all the cases browser is giving 404 This error is due to the configuration present in ionic app-scripts which doesn't include other node_modules paths. To fix this create a file sass.config.json in config folder with the below contents // cross verify with node_modules/@ionic/app-scripts/config

Ionic 2 device ready did not fire within 2000ms

被刻印的时光 ゝ 提交于 2019-11-30 22:15:53
问题 I'm working within ionic 2 beta 11 on IOS platforms after run the app using ionic run ios a white screen appear and got the below message: Native: deviceready did not fire within 2000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them. Any suggestion about that ? What's the problem exactly ? 回答1: This could be happening due to several issues, so you'd have to try a few things: Reinstall the platform by running ionic state

Ionic 3 Android Build Error (could not find support-v4.jar)

烂漫一生 提交于 2019-11-30 20:50:45
问题 I have an Ionic 3 app that has built fine on dev machines for quite a while. Today we tried a new machine and it doesn't build there. It is using an older cordova-android version (6.1.2), but I would think it would still build. The error I'm seeing is below: > ionic cordova build android ... * What went wrong: A problem occurred configuring root project 'android'. > Could not find support-v4.jar (com.android.support:support-v4:26.1.0). Searched in the following locations: https://jcenter

ionic 3, lazy-loading tabs components

ぐ巨炮叔叔 提交于 2019-11-30 19:09:43
I'm trying to create a ionic 3 tabs app with lazy loading without importing the components . in my app.component.ts rootPage:string = "Tabs"; in tabs.html <ion-tabs> <ion-tab [root]="Favorites" tabTitle="fav" tabIcon="star"></ion-tab> <ion-tab [root]="libaray" tabTitle="Library" tabIcon="book"></ion-tab> </ion-tabs> in Favorites.module.ts import { NgModule } from '@angular/core'; import { IonicPageModule } from 'ionic-angular'; import { Favorites } from './favorites'; @NgModule({ declarations: [ Favorites, ], imports: [ IonicPageModule.forChild(Favorites), ], exports: [ Favorites ] }) export