defunctzombie / node-process

process information for node.js and browsers
MIT License
122 stars 62 forks source link

IE11: Invalid Calling Object #63

Closed mattdell closed 8 years ago

mattdell commented 8 years ago

I'm having an issue on IE11 when calling process I get the error "Invalid Calling Object" in the method process.nextTick().

screen shot 2016-07-04 at 18 02 49

Would anyone be able to shed some light on this one? It's extremely difficult to debug in IE, but cachedSetTimeout and drainQueue are both defined.

I'm guessing it might be related to this? https://msdn.microsoft.com/en-us/library/gg622930(v=vs.85).aspx

calvinmetcalf commented 8 years ago

are you perhaps running with a bundler that is using eval to run it ?

calvinmetcalf commented 8 years ago

dupe of #62 which we tracked down to a weird interaction between the webpack dev build and ie, I'm investigating fixes

calvinmetcalf commented 8 years ago

we can talk about this in #62

mattdell commented 8 years ago

Yeah, just like in #62 removing devtool: 'cheap-module-eval-source-map' fixes my issue.