Closed fxfactorial closed 4 years ago
make sure you use the latest version workerfile is simple the url from which the workter thread is initialized
@soliton4 sorry, I don't quite understand.
I did cp node_modules/broadway/Decoder.js public
Can you show me a code sample of what you mean?
this is not the same as the node module. the node module was created by someone else. please ask there for support
Okay so I could just copy your Decoder.js and my current step would work ?
Sent from my iPhone
On Jun 19, 2018, at 1:25 PM, soliton4 notifications@github.com wrote:
this is not the same as the node module. the node module was created by someone else. please ask there for support
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
using 0.0.2 in a create-react-app project
and getting this error
in this kind of code sample:
where
/Decoder.js
is located in mypublic/Decoder.js
so I assume it means the broadway will do its own query for this Decoder.js file.So I am not clear why global would not be defined in the worker thread