-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome version 38.0.2125.101: "Failed to construct 'TextDecoder'" #179
Chrome version 38.0.2125.101: "Failed to construct 'TextDecoder'" #179
Comments
I know we have used that, but I can't find a reference to it in the current code. Are you using the latest version of JSZip? If you are, could you find out the user's browser and version? |
It does not work in Google Chrome Version 38.0.2125.101 m Now that you mention it, it does get past that error in Firefox. |
The usage of |
@Stuk .Dont have access to my system now . Would surely post the error stack trace, first thing tomorrow. |
You can just change the contents of the |
I had tried simply changing the contents of the jszip.js file with the latest version available while i was trying to debug the issue.However that threw an exception - "Cannot read property Central_directory_end of undefined" . I have typed this out of memory . Will provide the exact details of the error with stack trace first thing tomorrow.That is the reason I asked if there is some procedure to be followed while upgrading to newer version. Also what about the other files deflate.js etc? |
If you're using JSZip as a standalone script then make sure you're using the dist version, available here: https://github.com/Stuk/jszip/raw/master/dist/jszip.js |
This is the error stack trace where i am using the previous version of JSZip. |
I also faced the same issue: Failed to construct 'TextEncoder': Please use the 'new'operator. |
@subratray you need to update your version of JSZip to the latest |
@subratray : as a quick solution simply add 'new' @ line number 902 of your existing jszip.js. |
A user came across this error message in a project using JSZip: kach/Snapin8r#15
Do you have any idea what could be causing this?
The text was updated successfully, but these errors were encountered: