Ionic 4: Build for ios emulator missing files
See original GitHub issueDescription: Running v4.0.0=alpha 7, when I do ionic cordova emulate ios, the build process appears to occur correctly. The emulator launches, the app is started, splash screen appear, then the white screen of doom.
Connecting Safari and reloading the app, the console reports missing files.
Ionic serve is working fine.
Steps to Reproduce: ionic cordova emulate ios
The ios platform has been removed and readded.
Output:
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (runtime.js, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (cordova.js, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (polyfills.js, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (styles.js, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (vendor.js, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (main.js, line 0)
My ionic info
:
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 2.0.0-rc.6
ionic (Ionic CLI) : 4.0.0-rc.6
global packages:
cordova (Cordova CLI) : 8.0.0
local packages:
@angular-devkit/core : 0.6.0
@angular-devkit/schematics : 0.6.0
@angular/cli : 6.0.1
@ionic/schematics-angular : 1.0.0-rc.6
Cordova Platforms : android 7.0.0 ios 4.5.4
Ionic Framework : @ionic/angular 4.0.0-alpha.7
System:
Android SDK Tools : 26.1.1
ios-deploy : 1.9.1
ios-sim : 6.0.0
NodeJS : v8.11.1
npm : 6.0.1
OS : OS X El Capitan
Xcode : Xcode 8.0 Build version 8A218a
Environment Variables:
ANDROID_HOME : /Users/chrisgriffith/Documents/android-sdk-macosx
Other Information:
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (1 by maintainers)
Top GitHub Comments
@parthnayak7448 I was having the same issue and scratching my head for 2 days. I ran
ionic info
and found out that the webview plugin never got updated. I had to remove it and add it again.Try
cordova plugin rm cordova-plugin-ionic-webview
thencordova plugin add cordova-plugin-ionic-webview@latest
. Runcordova plugin ls
and make sure the webview is2.X
after adding beta plugin still, I am facing issue is there any solutions to this?