andylamax
08/26/2021, 2:59 AMprocess.nextTick is not a function. (In 'process.nextTick(this._get_messageQueue__1()._processQueue)', 'process.nextTick' is undefined)
at node_modules/@picortex/pi-monitor-client-sdk/pi-monitor-client-sdk.js:13160:17 in <anonymous>
Checking that line number, I see the following generated code
NodeDispatcher.prototype.scheduleQueueProcessing_1 = function () {
process.nextTick(this._get_messageQueue__1()._processQueue);
};
I think for some reasons, the library thinks it is running in a node environment. Is there a way I can make this work differently? Any work around?jw
08/26/2021, 3:22 AMandylamax
08/26/2021, 3:45 AM