Skip to content

Response has unsupported MIME type 'text/html' expected 'application/wasm' #1

@babakhakimi

Description

@babakhakimi

hi i have this issue and i cant solve them please help me

wasm streaming compile failed: TypeError: WebAssembly: Response has unsupported MIME type 'text/html' expected 'application/wasm'

this is my vue 3 project structure

public
-js
--opencv_js.js
--opencv_js.wasm
--opencv.js
-model
--fr_age.onnx
--fr_detect.onnx
--fr_expression.onnx
--fr_feature.onnx
--fr_gender.onnx
--fr_landmark.onnx
--fr_liveness.onnx
--fr_pose.onnx
-ort-wasm-simd-threaded.jsep.wasm
-ort-wasm-simd-threaded.wasm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions