I followed a tutorial to create a Phaser game: https://www.youtube.com/watch?v=W43SoPeNctQ
However, I'm facing an issue where the canvas briefly appears when the page reloads, but then disappears, leaving only a white screen with the header bar and tabs visible on top and bottom.
No errors are showing in the console.
I am using Phaser v3.24.1, just like in the video, and my browser is Brave, based on Chromium.
When running "ionic info", I see the following:
Ionic:
Ionic CLI : 6.12.3 (C:\Users\myuser\AppData\Roaming\npm\node_modules\@ionic\cli)
Ionic Framework : @ionic/angular 5.6.5
@angular-devkit/build-angular : 0.1102.10
@angular-devkit/schematics : 11.2.10
@angular/cli : 11.2.10
@ionic/angular-toolkit : 3.1.1
Capacitor:
Capacitor CLI : 2.4.7
@capacitor/core : 2.4.7
Utility:
cordova-res : not installed
native-run : not installed
System:
NodeJS : v14.15.4 (C:\Program Files\nodejs\node.exe)
npm : 6.14.10
OS : Windows 10
And when running "ng version", I see the following:
Angular CLI: 11.2.10
Node: 14.15.4
OS: win32 x64
Angular: 11.2.11
... common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1102.10
@angular-devkit/build-angular 0.1102.10
@angular-devkit/core 11.2.10
@angular-devkit/schematics 11.2.10
@angular/cli 11.2.10
@schematics/angular 11.2.10
@schematics/update 0.1102.10
rxjs 6.6.7
typescript 4.0.7
If anyone has any suggestions or can help troubleshoot this issue, it would be greatly appreciated!