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

browserify-vanilla example does not work #10

Open
monzonj opened this issue Jul 10, 2015 · 1 comment
Open

browserify-vanilla example does not work #10

monzonj opened this issue Jul 10, 2015 · 1 comment

Comments

@monzonj
Copy link

monzonj commented Jul 10, 2015

Hello
Using these modules versions the given example does not work.

$ node -v
v0.12.2

$ npm -v
2.12.1

gulp": "^3.9.0",
"browserify": "^10.2.4",
"vinyl-transform": "^1.0.0"
gulp browserify
[16:43:03] Using gulpfile ~/Documents/workspace/test/gulpfile.js
[16:43:03] Starting 'browserify'...
_stream_readable.js:540
    var ret = dest.write(chunk);
                   ^
TypeError: undefined is not a function
    at Producer.ondata (_stream_readable.js:540:20)
    at Producer.emit (events.js:107:17)
    at Producer.Readable.read (_stream_readable.js:373:10)
    at flow (_stream_readable.js:750:26)
    at resume_ (_stream_readable.js:730:3)
    at _stream_readable.js:717:7
    at process._tickCallback (node.js:355:11) 
@monzonj
Copy link
Author

monzonj commented Jul 10, 2015

Reason is that browserify.bundle() has changed in later versions.

Solution here: browserify/browserify#1198

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