You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use Mammoth.js in a web worker by importing it using "importScripts". The error I get, when doing this is: "Uncaught TypeError: Cannot read property 'MutationObserver' of undefined". When I load mammoth.browser.min.js in the browser I get no such error. The error is thrown immediately after importScripts is run. Any ideas? Thank you.
The text was updated successfully, but these errors were encountered:
Looks like there was a bug in bluebird [1], the promise library that Mammoth uses. I've updated to the latest version of bluebird in the 0.3.12 release. Could you see if that solves your issue?
I had to check out the repo and run make setup. That generated the js that is working. Npm install of v0.3.12 doesn't contain the updated js yet. Thank you for the quick response and quick fix!
I'm trying to use Mammoth.js in a web worker by importing it using "importScripts". The error I get, when doing this is: "Uncaught TypeError: Cannot read property 'MutationObserver' of undefined". When I load mammoth.browser.min.js in the browser I get no such error. The error is thrown immediately after importScripts is run. Any ideas? Thank you.
The text was updated successfully, but these errors were encountered: