PrismarineJS/prismarine-viewer

The issue has been closed
Loading Worker error #63
ratuspro posted onGitHub
I'm experiencing some problems when opening the viewer in Firefox.
The error is as follows:
Loading Worker from “http://localhost:3001/node_modules/prismarine-viewer/src/worker.js” was blocked because of a disallowed MIME type (“text/html”)
It also happens in other browsers such as Chrome and Edge.
It is possible to see the Firefox's logs in the following image
The problem is related with the worker.js file being loaded from the wrong path.