I used the steps described here to convert my Angular4 app to a web worker. When I run the app, I see the following error:
The change I have from my existing Angular4 app and the new one is the support of the web worker.
The error does not give any clue of what component or code is causing this. Is there a tracing that I can add to somewhere to find what is causing this error?
---- UPDATE 6/28 -----
The error is generated from the following code
WorkerDomAdapter.prototype.getCookie = function (name) { throw 'not implemented'; };
in platform-webworker.umd.js
The getCookie
call is made by http.umd.js.