Bonjour.
avec ionic serve le chrome ouvre une page blanche.
J’ai testé sur mon smartphone avec ionic cordova run android l’app a fonctionné au depart puis le lendemain pareil page blanche.
Je n’ai aucune erreur dans la console chrome ni dans visual studio.
Si vous avez installé l’APK avec la commande ./adb install myApp.apk, essayez de le déboguer avec la commande ./adb logcat *:E. Alors peut-être que vous trouverez un indice qui cause le problème.
Re.
Je vais essayer cela demain.
Compte tenu que je suis coincé avec celui-ci j’ai commencé un projet avec ionic V4 vu qu’il faudra s’y mettre a un moment
Re.
J’ai tout fais et ça a fonctionné.
J’ai fait ionic cordova run android pour tester sur mon smartphone.
Ça a fonctionné 1 jour et mauntenant ecran blanc a nouveau.
Je comprend vraiment pas
If you have a white page while doing ionic serve in Chrome and no msg in the Chrome Debugger I would bet on a compilation error. Check the stacktrace of ionic serve
Hello @reedrichards,
Justement je n’ai aucune erreur dans l’inspection chrome.
Le stacktrace c’est tout ce qui s’affiche dans la console apres le ionic serve ? C’est ça?
> ionic-app-scripts serve --address 0.0.0.0 --port 8100 --livereload-port 35729 --dev-logger-port 53703 --nobrowser
[app-scripts] [19:56:38] ionic-app-scripts 3.2.0
[app-scripts] [19:56:38] watch started ...
[app-scripts] [19:56:38] build dev started ...
[app-scripts] [19:56:38] clean started ...
[app-scripts] [19:56:38] clean finished in 33 ms
[app-scripts] [19:56:38] copy started ...
[app-scripts] [19:56:38] deeplinks started ...
[app-scripts] [19:56:38] deeplinks finished in 68 ms
[app-scripts] [19:56:38] transpile started ...
[app-scripts] [19:56:46] transpile finished in 7.71 s
[app-scripts] [19:56:46] preprocess started ...
[app-scripts] [19:56:46] preprocess finished in 1 ms
[app-scripts] [19:56:46] webpack started ...
[app-scripts] [19:56:46] copy finished in 8.36 s
[app-scripts] [19:56:52] webpack finished in 6.23 s
[app-scripts] [19:56:52] sass started ...
[app-scripts] [19:56:54] sass finished in 1.81 s
[app-scripts] [19:56:54] postprocess started ...
[app-scripts] [19:56:54] postprocess finished in 10 ms
[app-scripts] [19:56:54] lint started ...
[app-scripts] [19:56:54] build dev finished in 16.11 s
[app-scripts] [19:56:54] watch ready in 16.38 s
[INFO] Development server running!
Local: http://localhost:8100
External: http://192.168.0.31:8100
DevApp: ionic2-app-base@8100 on DESKTOP-KMH4TM5
Use Ctrl+C to quit this process
[INFO] Browser window opened to http://localhost:8100!
[app-scripts] no-unused-variable is deprecated. Since TypeScript 2.9. Please use the built-in compiler checks instead.
[app-scripts] [19:57:01] tslint: C:/Users/ludo/Desktop/appli mobile/restful-auth/src/app/app.component.ts, line: 22
[app-scripts] Property 'translate' is declared but its value is never read.
[app-scripts] L21: public menu: MenuController,
[app-scripts] L22: private translate: TranslateService) {
[app-scripts] [19:57:01] lint finished in 6.70 s
[app-scripts] no-unused-variable is deprecated. Since TypeScript 2.9. Please use the built-in compiler checks instead.
[app-scripts] [19:57:01] tslint: C:/Users/ludo/Desktop/appli mobile/restful-auth/src/app/app.component.ts, line: 22
[app-scripts] Property 'translate' is declared but its value is never read.
[app-scripts] L21: public menu: MenuController,
[app-scripts] L22: private translate: TranslateService) {
[app-scripts] [19:57:01] lint finished in 6.70 s
Probablement pas le problème mais on sait jamais, si tu résous cette erreur/warning?
Tu utilises quelle version de typescript? (package.json -> typescript)
module-loader.js:76 Can't export directive Login from LoginModule as it was neither declared nor imported!
(anonymous) @ module-loader.js:76
``` and the display works well.
on my smartphone the home screen briefly appears and then turns white