When unzipping the project,
npm install &
npm run dev with admin rights, receive the error message:
wasm-worker.ts:201 Refused to execute script from 'http://libs/abbyy-mwc/js/wasm_engine.js?version=1.10.0_24-07-20,12:10:35' because its MIME type ('') is not executable.
This situation occurs because paths to the wasm directory (wasmFilesPath option) were specified relative to the base URL of the page. That`s why the module was not loaded correctly.
<base href='/'> in
<head> tag to set base URL to load resources. More information about it you can find here.
Please sign in to leave a comment.