-
Notifications
You must be signed in to change notification settings - Fork 25
Browserify issue with vm.runInNewContext #5
Comments
You're really trying to run this in the browser? What's your use-case if you don't mind me asking? |
I don't mind. It's one of the dependencies in |
vm-browserify ought to make this usable, and I think I'm using that already by just using browserify as it is. But I don't fully understand the scope of the problem. :/ |
I think it's a With that patch applied, I was able to get browserified PacResolver working correctly (well, I wouldn't expect DNS or stuff like that to work, but at least the function compiled and executed with a dummy return value correctly). |
Looks like you're right. Hopefully this gets pulled in pretty quick. Thanks! |
Also note that I had to use the "brfs" browserify transform (as a global transform, unfortunately), to make that |
Yep, I had been using that too. Thanks for mentioning it. |
This line in
index.js
is breaking in my build:I've no idea why. I seem to be able to just comment it out and everything runs fine, so I'm not sure exactly what it is doing. The issue in the terminal is:
Uncaught TypeError: Cannot set property 'wrapGenerator' of undefined
. Any thoughts?The text was updated successfully, but these errors were encountered: