TypeError: global.moduleMerge is not a function. (In 'global.moduleMerge(httpRequest, exports)', 'global.moduleMerge' is undefined)


#1

TypeError: global.moduleMerge is not a function. (In ‘global.moduleMerge(httpRequest, exports)’, ‘global.moduleMerge’ is undefined) I am getting this error in ios for worker thread on message.


#2

“I am not feeling well.”

Well, what can you do about it? Not much. See? It feels similar when you report something like this without the proper context.

What is the exception, where does it happen, how do you trigger it? What versions does this happen on?


#3

Please try to share as much information along with logs and possibly code snippets, when you are hitting an issue.


#4

I found the answer for it. We have to include the global in our http.js file as like this.
require(‘globals’);