Skip to content

WASM example with Python server doesn't work #3864

@MiniaczQ

Description

@MiniaczQ

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

  1. Remove python server from examples
  2. Add additional information on how to set it up.
  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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-BugAn unexpected or incorrect behaviorO-WebSpecific to web (WASM) builds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions