-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
C-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorO-WebSpecific to web (WASM) buildsSpecific to web (WASM) builds
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.
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
- Remove python server from examples
- Add additional information on how to set it up.
- 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.
Metadata
Metadata
Assignees
Labels
C-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorO-WebSpecific to web (WASM) buildsSpecific to web (WASM) builds