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

RangeError: Maximum call stack size exceeded #1

Closed
chevett opened this issue Apr 18, 2014 · 2 comments
Closed

RangeError: Maximum call stack size exceeded #1

chevett opened this issue Apr 18, 2014 · 2 comments

Comments

@chevett
Copy link

chevett commented Apr 18, 2014

I'm attempting to create a bundle like so:

var fs = require('fs');
var browserify = require('browserify');

var b = browserify();
b.require('browserify-fs', { expose: 'fs' });

b.add('./test.js');
b.bundle()
    .pipe(fs.createWriteStream('bundle.js'));

test.js contains the hello-world example from the browserify-fs readme. When I run this to build the bundle I get the max call stack error... any ideas? I'm not sure what I'm doing wrong.

full code here: https://github.com/chevett/browserify-fs-problem

Thanks!

@mafintosh
Copy link
Owner

I had the same problem using the latest browserify. Try downgrading to browserify 3.32.1 to see if that works

@chevett
Copy link
Author

chevett commented Apr 18, 2014

awesome, that did it! Thanks for the super fast response.

@chevett chevett closed this as completed Apr 18, 2014
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

2 participants