pygame-web / pygbag

python and pygame wasm for everyone ( packager + test server + simulator )
https://github.com/pygame-web
MIT License
319 stars 36 forks source link

cannot read the properties of undefined #162

Closed Subisuresh321 closed 6 months ago

Subisuresh321 commented 6 months ago

since i am using pygame and pygbag for my college project. and while i try to open my game in my website i get this error Screenshot (7)

the game works after reloading the page 2 or 3 times....but i cant submit this project with this error...is there any solution for this or can i modify that message and say "Reload the page" with a reload button with it

pmp-p commented 6 months ago

You are not using the good address, use "localhost" special url in place of loopback "127.0.0.1", also try "http://localhost:8000?-i" to get more info and python traces