Simply loading a dnn model via OpenCV.js

Hey nice people,

I am still struggling with simply loading a dnn model via opencv.js.

Here is my code:

const configPath = "model/deploy.prototxt"
const modelPath = "model/mobilenet_iter_73000.caffemodel"

loadmodel = async function () {
    let net = cv.readNet(configPath, modelPath);
} 

And I get:

I also tried cv.readNetFromCaffe and cv.readNetFromCaffe1.
I am using opencv.js version 4.8.0 and the model files work fine on the tutorial page.

Any hints or tips, on what I could do differently?

Thanks,
Mo

Edit: I also tried with getting the file paths from input fields.