Skip to content

RangeError: Maximum call stack size exceeded #2

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

Closed
cliffrowley opened this issue Apr 26, 2014 · 8 comments
Closed

RangeError: Maximum call stack size exceeded #2

cliffrowley opened this issue Apr 26, 2014 · 8 comments

Comments

@cliffrowley
Copy link

I'm seeing an error extracting a large zip file with gulp-unzip. First I get rather a lot of these:

(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.

And then finally this:

RangeError: Maximum call stack size exceeded

My code is very simple:

gulp.src(config.cef_archive_path)
    .pipe(unzip())
    .pipe(gulp.dest(config.vendor_path))

Is this gulp-unzip or node-unzip?

Thanks.

@suisho
Copy link
Collaborator

suisho commented Apr 26, 2014

Can you tell me large zip detail (size, file num and others) ?

@cliffrowley
Copy link
Author

Sure thing. I can give you the URL to the zip itself (it's just the Chromium Embedded Framework OS X binary repacked as a zip file). It's here: https://dl.dropboxusercontent.com/u/714833/Koding/cef_binary_3.1650.1562_macosx64.zip

@cliffrowley
Copy link
Author

I've just this second replicated the error without gulp-unzip, so it's almost certainly down to the unzip module.

@suisho
Copy link
Collaborator

suisho commented Apr 26, 2014

I see.
This problem is fixed when merge this EvanOxfeld/node-unzip#23.

Now, I create branch that use wip node-unzip branch.
If you want fix this issue ad hoc, you fix package.json to

"unzip" : "git://github.com/suisho/gulp-unzip.git#unzip-max-call-stack-exceeded-wip"

and do execute npm up

@garthk
Copy link

garthk commented Apr 28, 2014

Solution verified, @suisho. Thanks.

@suisho
Copy link
Collaborator

suisho commented Apr 29, 2014

Ok, this problem got solution
but very very ad hoc
I think kept open this issue until node-unzip's error is fixing.

And I rethink this issue, I may provide so complex solution.

If want open all file in zip ( in other word, not need filter function), you can solve this issue with use child_process.spawn directory.

@ZJONSSON
Copy link

Has this now been resolved? If not please share an updated link to a failing zip

@terrierscript
Copy link
Owner

It's very old issue.
I close it ( and reopen if same issue reported)

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

5 participants