Ionic App crashes on Windows8


#1

Hello,

i just installed ionic and created the starter app. It works well on android, but crashes immediately on w8.

Windows Error Reporting:
Version=1
EventType=WWAJSE
EventTime=130563214729520348
Consent=1
UploadTime=130563214730990428
ReportIdentifier=9058e396-4680-11e4-befb-c48508085b1e
IntegratorReportIdentifier=9058e397-4680-11e4-befb-c48508085b1e
Response.BucketId=70a49be7e54f5f0758c6df9672432078
Response.BucketTable=5
Response.LegacyBucketId=98869334347
Response.type=4
Sig[0].Name=PackageFullPath
Sig[0].Value=com.ionicframework.myapp137330_0.0.1.0_neutral__dsh9t8a1qg3mw
Sig[1].Name=AppName
Sig[1].Value=com.ionicframework.myapp137330
Sig[2].Name=RestrictedStackHash
Sig[2].Value=1c78
Sig[3].Name=ExceptionType
Sig[3].Value=0
Sig[4].Name=Filename
Sig[4].Value=ms-appx:////com.ionicframework.myapp137330//www//lib//ionic//js//ionic.bundle.js
Sig[5].Name=SourcePosition
Sig[5].Value=10624_9
DynamicSig[1].Name=Betriebsystemversion
DynamicSig[1].Value=6.3.9600.2.0.0.256.48
DynamicSig[2].Name=Gebietsschema-ID
DynamicSig[2].Value=3079
State[0].Key=Transport.DoneStage1
State[0].Value=1
FriendlyEventName=Skriptausnahmefehler der App
ConsentKey=WWAJSE
AppName=myApp
AppPath=C:\Windows\System32\WWAHost.exe
ApplicationIdentity=00000000000000000000000000000000

Any idea?


#2

Hi,

Have you intalled it properly? I mean have you follow the instructions of video - http://learn.ionicframework.com/videos/windows-android/ ?

It seems you have missed to defin some enviroment variable , or pherhaps your Antivirus block your computer to execude .js files ( default config on windows 8 :frowning: ),

Try to install it all again following the video ( excelent documentation ) and u problems will be 0 , except is Antivirus problem :slight_smile:


#3

hy,
everything is properly installed.
a simple hello world cordova app works on android and w8.
only the ionic app crashes immediately and if i restart the app it shows only the cordova image and after 1s the app hides to the background.
disabling av (avg) and fw does not help.


#4

pff is difficult to help you,I mean i’ve never hear this problem issue in Windows machines… In forum not and I don’t have this kind of problems.

To try help you can u upload a small video showing the problem? In that way the forum users and me can help you better :smiley:


#5

Yes, I think that @Cris is perhaps misunderstanding the problem reported by @domi9er… If I am not misunderstanding, @domi9er is actually reporting that “ionic run windows” is failing on a Windows device - and not that “Ionic is not working on a Windows 8 machine”.

I am currently troubleshooting the same issue was initially reported - namely that an Ionic Windows build crashes immediately following the display of the Cordova splash screen on a Windows device.

I’ve come across this in my research: https://github.com/driftyco/ionic/issues/2965

Which ultimately will point you to: https://www.hoessl.eu/2014/12/on-using-the-ionic-framework-for-windows-phone-8-1-apps/

It appears that currently Ionic starter projects don’t contain everything ‘required’ to launch an Ionic starter app on a Windows device. MSOpenTech has provided a shim, winstore-jscompat.js, that allows us to start to work around the issues/platform-differences… After reading the above posts and doing as instructed - namely adding the shim before the ref to ionic.bundle.js in my index.html - I am able to get the tabs starter app running…

I am still seeing some issues/differences with the starter app when running on Windows vs how it runs on Android, but at least it’s running now and so I can begin troubleshooting those peculiarities!

Hope this helps! Best of luck!

Kudos to @caiiiycuk for getting it narrowed down!!