WASM example with Python server doesn't work
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## System information
OS: Windows 10
Browsers: Opera GX & Firefox
Python: 3.9.10
## What you did
Build a project for WASM and tried to launch it with python server as instructed [here](https://github.com/bevyengine/bevy/tree/main/examples#build--run-2).
## What you expected to happen
App to run properly.
## What actually happened
App didn't run.
Debugger said that a `.js` file was sent as `text/plain`, hence could not be run as a module.
## Solutions
1. Remove python server from examples
2. Add additional information on [how to set it up](https://stackoverflow.com/questions/56940396/python-2-web-server-local-host-error-the-server-responded-with-a-non-javascript).
3. Keep this issue open so if someone gets this rare case they'll find the solution
## Additional context
Not everyone seems to have this issue, even with the same python version.
Running the `basic-http-server` worked just fine, so it's a python thing.
I'm not sure which solution is the right call.
Contributor guide
Assessment
This issue has not been assessed yet.