Open Eonfuzz opened 5 years ago
Facing the same issue for Android
Any opdate on this?
I got around it by not using it "The Webpack way" and instead just creating it manually via:
const worker = new Worker("./worker-script");
Take a look to this answer: https://stackoverflow.com/a/54546214/4982126
same issue with Vue
I had this issue as well. The problem had to do with typescript not liking my route. I ended up having to make it something like: import * as TsWorker from "nativescript-worker-loader!../../../workers/worker";
Issue tends to be the path.
any updates? I have similar problem and I don't know how to fix it...
me too
I'm also facing the same issue in both platforms
Full error:
To reproduce:
git clone https://github.com/NativeScript/worker-loader
cd worker-loader/demo-angular
npm i
tns run ios