Skip to content
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

Error while trying to unzip no window object. #67

Open
whitecat opened this issue Sep 8, 2016 · 0 comments
Open

Error while trying to unzip no window object. #67

whitecat opened this issue Sep 8, 2016 · 0 comments

Comments

@whitecat
Copy link

whitecat commented Sep 8, 2016

When I add the function

$cordovaZip
.unzip(
src, // https://github.com/MobileChromeApps/zip/blob/master/tests/tests.js#L32
dest // https://github.com/MobileChromeApps/zip/blob/master/tests/tests.js#L45
).then(function () {
elem.innerHTML = "success"
console.log('success');
}, function () {
console.log('error');
}, function (progressEvent) {
// https://github.com/MobileChromeApps/zip#usage
console.log(progressEvent);
I get the the following: Error: undefined is not an object (evaluating '$window.zip.unzip')

Are there additional packages that need to be installed to make $window defined?

@whitecat whitecat changed the title Error while trying to unzip no map object.. Error while trying to unzip no window object. Sep 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant