i honestly don't know for sure what went wrong here. did you maybe use some itch.io app instead a normal browser where you exported the game?
i just imported your game and exported it again, and it works fine for me. if you want you could either come to my discord (link is on the pocket platformer page) and i will send you the working file. or you try to export your game again in a different browser and check if it works. (you don't need to upload it to itch. you could just open the exported file and if it plays in the browser as a standalone game, it works)