ionic-cli icon indicating copy to clipboard operation
ionic-cli copied to clipboard

white screen on ionic serve -l

Open jgw96 opened this issue 9 years ago • 11 comments

From @MELAS007 on December 14, 2016 13:23

Ionic version: (check one with "x") [ ] 1.x [x ] 2.x

I'm submitting a ... (check one with "x") [x ] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior:

I run ionic serve -l then in my browser appears white screen and no errors in console.....

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

Your system information:

 ordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.17
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.47
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 7
Node Version: v6.9.1
Xcode version: Not installed

Copied from original issue: driftyco/ionic#9636

jgw96 avatar Dec 14 '16 17:12 jgw96

I'm having the same problem. I think it is node v6 which is causing the problem. I ran into this a while back before v6.9.1 became the LTS version of Node.js.

EDIT: reverting to older version of Node.js did not help anything.

goleary avatar Dec 15 '16 00:12 goleary

this and #1766 are likely the same issue

goleary avatar Dec 15 '16 00:12 goleary

What is lts?

On 15 Dec 2016 02:50, "goleary" [email protected] wrote:

this and #1766 https://github.com/driftyco/ionic-cli/issues/1766 are likely the same issue

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/driftyco/ionic-cli/issues/1781#issuecomment-267203662, or mute the thread https://github.com/notifications/unsubscribe-auth/APuBAkJZJYUTQk96IsX_JByMofWPe3-Cks5rII7egaJpZM4LNL_1 .

MELAS007 avatar Dec 15 '16 01:12 MELAS007

@MELAS007 you created an ionic project issue which was moved to another github project (ionic-cli). you are now getting email updates for said github issue

goleary avatar Dec 15 '16 01:12 goleary

I was having the exact same problem. I upgraded to the latest version of ionic (2.0.0-rc.4) and it fixed it for me: https://github.com/driftyco/ionic/blob/master/CHANGELOG.md

Don't forget to follow the instructions on the breaking changes in ionic-app-scripts

goleary avatar Dec 16 '16 01:12 goleary

The same

On 16 Dec 2016 03:59, "goleary" [email protected] wrote:

I was having the exact same problem. I upgraded to the latest version of ionic (2.0.0-rc.4) and it fixed it for me: https://github.com/driftyco/ionic/blob/master/CHANGELOG.md

Don't forget to follow the instructions on the breaking changes in ionic-app-scripts

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/driftyco/ionic-cli/issues/1781#issuecomment-267498221, or mute the thread https://github.com/notifications/unsubscribe-auth/APuBAqYOQdjkoAo-c3Rg4wpFQBvJHbkqks5rIfCPgaJpZM4LNL_1 .

MELAS007 avatar Dec 16 '16 18:12 MELAS007

I noticed problem to build app and install to iPad. It builds and installs, but stuck during run at whitescreen. Same if run via XCode. But if do ionic run ios --device --livereload it works at device correct. If run without "--livereload", it again just show whitescreen.

pyavcom avatar Dec 20 '16 12:12 pyavcom

@pyavcom Could you provide the output from running ionic info from within the project folder?

jthoms1 avatar Dec 20 '16 17:12 jthoms1

I found cause. http://ionicframework.com/docs/v2/native/transfer/ by this example, had to move declaration of const fileTransfer = new Transfer(); inside class declaration public fileTransfer = new Transfer(); it became working.

pyavcom avatar Dec 23 '16 00:12 pyavcom

Hello there ; i am having same problem ,i downloaded ionic 2 one months ago and started to write an app ,i finished an app two days ago with ionic 2 now i updated ionic and my ionic info is

ordova CLI: 6.5.0 Ionic Framework Version: 2.1.0 Ionic CLI Version: 2.2.1 Ionic App Lib Version: 2.2.0 Ionic App Scripts Version: 1.1.3 ios-deploy version: Not installed ios-sim version: Not installed OS: Windows 10 Node Version: v6.9.4 Xcode version: Not installed

However ,it show white screen when i serve it but there is no error .How can i solve this problem?

i wrote my app via ionic-angular": "2.0.1", now i have ionic-angular": "2.1.0"

Thank you in advance

TechSnake avatar Feb 24 '17 21:02 TechSnake

This issue has been automatically closed because it had the v2 label. Please install the new CLI v3 (npm install -g ionic@latest). See CHANGELOG.md#Upgrading from CLI v2 for details.

If this issue is still a problem in CLI v3, please create a new issue. Thank you!

imhoffd avatar Jul 28 '17 22:07 imhoffd