Ionic cordova run android --prod returns whitescreen only in latest version of typescript
I have an App where I used older version of typescript in that specific project. Currently using 2.8.3 tsc but when I switched from 3.1.4 tsc console.log
is not working anymore and when I try to run it on a production mode it just renders a white screen as always.
But when I try to lower the version of my tsc to 2.8.3 it is now working again.
Now what I want to happen is to upgrade my typescript version because I want to use ngrx/store and ngrx/effects which requires a higher version of tsc. I try other versions that is a little bit higher but still not working.
What I did to test this crazy experiment is I created two dummy ionic projects. One project is using 2.8.3 and tryo to run some console.log
and running it on production is still working fine.
But on the other hand or the other project that is using 3.1.4 tsc running some console.log
is not working anymore and it just renders a whitescreen in production
Btw here is my info info below
Ionic:
ionic (Ionic CLI) : 4.0.0-rc.13 (/home/clifford/.npm-global/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 6.4.0, browser 5.0.4
System:
Android SDK Tools : 26.1.1
NodeJS : v6.12.2 (/usr/local/bin/node)
npm : 4.6.1
OS : Linux 4.13
Environment:
ANDROID_HOME : /home/clifford/Android/Sdk
Any thoughts on this?
Appreciate if someone could help to get it working fine on latest versions.
angular typescript ionic-framework ionic3 version
|
show 2 more comments
I have an App where I used older version of typescript in that specific project. Currently using 2.8.3 tsc but when I switched from 3.1.4 tsc console.log
is not working anymore and when I try to run it on a production mode it just renders a white screen as always.
But when I try to lower the version of my tsc to 2.8.3 it is now working again.
Now what I want to happen is to upgrade my typescript version because I want to use ngrx/store and ngrx/effects which requires a higher version of tsc. I try other versions that is a little bit higher but still not working.
What I did to test this crazy experiment is I created two dummy ionic projects. One project is using 2.8.3 and tryo to run some console.log
and running it on production is still working fine.
But on the other hand or the other project that is using 3.1.4 tsc running some console.log
is not working anymore and it just renders a whitescreen in production
Btw here is my info info below
Ionic:
ionic (Ionic CLI) : 4.0.0-rc.13 (/home/clifford/.npm-global/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 6.4.0, browser 5.0.4
System:
Android SDK Tools : 26.1.1
NodeJS : v6.12.2 (/usr/local/bin/node)
npm : 4.6.1
OS : Linux 4.13
Environment:
ANDROID_HOME : /home/clifford/Android/Sdk
Any thoughts on this?
Appreciate if someone could help to get it working fine on latest versions.
angular typescript ionic-framework ionic3 version
are you using ionic 4?
– Suresh Kumar Ariya
Nov 27 '18 at 0:26
nope only Ionic 3
– KnowledgeSeeker
Nov 27 '18 at 0:30
ionic 4 only added support for angular 7, which internally uses typescript 3.1.x. First upgrade your application to Ionic 4 and then upgrade the typescript.
– Suresh Kumar Ariya
Nov 27 '18 at 0:32
Ohhh but I didn't want the big project on ionic 4 I only switched higher versions of tsc because of ngrx/effect does not work on lower version. I will create a new question about this can you help me?
– KnowledgeSeeker
Nov 27 '18 at 0:33
you can use ngrx/store in ionic 3. why you need to upgrade typscript ver?
– Suresh Kumar Ariya
Nov 27 '18 at 0:36
|
show 2 more comments
I have an App where I used older version of typescript in that specific project. Currently using 2.8.3 tsc but when I switched from 3.1.4 tsc console.log
is not working anymore and when I try to run it on a production mode it just renders a white screen as always.
But when I try to lower the version of my tsc to 2.8.3 it is now working again.
Now what I want to happen is to upgrade my typescript version because I want to use ngrx/store and ngrx/effects which requires a higher version of tsc. I try other versions that is a little bit higher but still not working.
What I did to test this crazy experiment is I created two dummy ionic projects. One project is using 2.8.3 and tryo to run some console.log
and running it on production is still working fine.
But on the other hand or the other project that is using 3.1.4 tsc running some console.log
is not working anymore and it just renders a whitescreen in production
Btw here is my info info below
Ionic:
ionic (Ionic CLI) : 4.0.0-rc.13 (/home/clifford/.npm-global/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 6.4.0, browser 5.0.4
System:
Android SDK Tools : 26.1.1
NodeJS : v6.12.2 (/usr/local/bin/node)
npm : 4.6.1
OS : Linux 4.13
Environment:
ANDROID_HOME : /home/clifford/Android/Sdk
Any thoughts on this?
Appreciate if someone could help to get it working fine on latest versions.
angular typescript ionic-framework ionic3 version
I have an App where I used older version of typescript in that specific project. Currently using 2.8.3 tsc but when I switched from 3.1.4 tsc console.log
is not working anymore and when I try to run it on a production mode it just renders a white screen as always.
But when I try to lower the version of my tsc to 2.8.3 it is now working again.
Now what I want to happen is to upgrade my typescript version because I want to use ngrx/store and ngrx/effects which requires a higher version of tsc. I try other versions that is a little bit higher but still not working.
What I did to test this crazy experiment is I created two dummy ionic projects. One project is using 2.8.3 and tryo to run some console.log
and running it on production is still working fine.
But on the other hand or the other project that is using 3.1.4 tsc running some console.log
is not working anymore and it just renders a whitescreen in production
Btw here is my info info below
Ionic:
ionic (Ionic CLI) : 4.0.0-rc.13 (/home/clifford/.npm-global/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 6.4.0, browser 5.0.4
System:
Android SDK Tools : 26.1.1
NodeJS : v6.12.2 (/usr/local/bin/node)
npm : 4.6.1
OS : Linux 4.13
Environment:
ANDROID_HOME : /home/clifford/Android/Sdk
Any thoughts on this?
Appreciate if someone could help to get it working fine on latest versions.
angular typescript ionic-framework ionic3 version
angular typescript ionic-framework ionic3 version
edited Nov 27 '18 at 0:31
KnowledgeSeeker
asked Nov 26 '18 at 23:45
KnowledgeSeekerKnowledgeSeeker
28219
28219
are you using ionic 4?
– Suresh Kumar Ariya
Nov 27 '18 at 0:26
nope only Ionic 3
– KnowledgeSeeker
Nov 27 '18 at 0:30
ionic 4 only added support for angular 7, which internally uses typescript 3.1.x. First upgrade your application to Ionic 4 and then upgrade the typescript.
– Suresh Kumar Ariya
Nov 27 '18 at 0:32
Ohhh but I didn't want the big project on ionic 4 I only switched higher versions of tsc because of ngrx/effect does not work on lower version. I will create a new question about this can you help me?
– KnowledgeSeeker
Nov 27 '18 at 0:33
you can use ngrx/store in ionic 3. why you need to upgrade typscript ver?
– Suresh Kumar Ariya
Nov 27 '18 at 0:36
|
show 2 more comments
are you using ionic 4?
– Suresh Kumar Ariya
Nov 27 '18 at 0:26
nope only Ionic 3
– KnowledgeSeeker
Nov 27 '18 at 0:30
ionic 4 only added support for angular 7, which internally uses typescript 3.1.x. First upgrade your application to Ionic 4 and then upgrade the typescript.
– Suresh Kumar Ariya
Nov 27 '18 at 0:32
Ohhh but I didn't want the big project on ionic 4 I only switched higher versions of tsc because of ngrx/effect does not work on lower version. I will create a new question about this can you help me?
– KnowledgeSeeker
Nov 27 '18 at 0:33
you can use ngrx/store in ionic 3. why you need to upgrade typscript ver?
– Suresh Kumar Ariya
Nov 27 '18 at 0:36
are you using ionic 4?
– Suresh Kumar Ariya
Nov 27 '18 at 0:26
are you using ionic 4?
– Suresh Kumar Ariya
Nov 27 '18 at 0:26
nope only Ionic 3
– KnowledgeSeeker
Nov 27 '18 at 0:30
nope only Ionic 3
– KnowledgeSeeker
Nov 27 '18 at 0:30
ionic 4 only added support for angular 7, which internally uses typescript 3.1.x. First upgrade your application to Ionic 4 and then upgrade the typescript.
– Suresh Kumar Ariya
Nov 27 '18 at 0:32
ionic 4 only added support for angular 7, which internally uses typescript 3.1.x. First upgrade your application to Ionic 4 and then upgrade the typescript.
– Suresh Kumar Ariya
Nov 27 '18 at 0:32
Ohhh but I didn't want the big project on ionic 4 I only switched higher versions of tsc because of ngrx/effect does not work on lower version. I will create a new question about this can you help me?
– KnowledgeSeeker
Nov 27 '18 at 0:33
Ohhh but I didn't want the big project on ionic 4 I only switched higher versions of tsc because of ngrx/effect does not work on lower version. I will create a new question about this can you help me?
– KnowledgeSeeker
Nov 27 '18 at 0:33
you can use ngrx/store in ionic 3. why you need to upgrade typscript ver?
– Suresh Kumar Ariya
Nov 27 '18 at 0:36
you can use ngrx/store in ionic 3. why you need to upgrade typscript ver?
– Suresh Kumar Ariya
Nov 27 '18 at 0:36
|
show 2 more comments
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53490750%2fionic-cordova-run-android-prod-returns-whitescreen-only-in-latest-version-of-t%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53490750%2fionic-cordova-run-android-prod-returns-whitescreen-only-in-latest-version-of-t%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
are you using ionic 4?
– Suresh Kumar Ariya
Nov 27 '18 at 0:26
nope only Ionic 3
– KnowledgeSeeker
Nov 27 '18 at 0:30
ionic 4 only added support for angular 7, which internally uses typescript 3.1.x. First upgrade your application to Ionic 4 and then upgrade the typescript.
– Suresh Kumar Ariya
Nov 27 '18 at 0:32
Ohhh but I didn't want the big project on ionic 4 I only switched higher versions of tsc because of ngrx/effect does not work on lower version. I will create a new question about this can you help me?
– KnowledgeSeeker
Nov 27 '18 at 0:33
you can use ngrx/store in ionic 3. why you need to upgrade typscript ver?
– Suresh Kumar Ariya
Nov 27 '18 at 0:36