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

Beefy is broken? #99

Open
dcosson opened this issue Dec 7, 2015 · 4 comments
Open

Beefy is broken? #99

dcosson opened this issue Dec 7, 2015 · 4 comments

Comments

@dcosson
Copy link

dcosson commented Dec 7, 2015

I get the following error when running beefy in the simplest possible form, I'm on OSX El Capitan and Node 4.2.1.

beefy (v2.1.5) is listening on http://127.0.0.1:9966
200    7ms       530B  / (generated)
buffer.js:229
    buf.copy(buffer, pos);
        ^

TypeError: buf.copy is not a function
    at Function.Buffer.concat (buffer.js:229:9)
    at Stream.end (C:\Users\Tomasz\AppData\Roaming\npm\node_modules\beefy\lib\accumulate-error.js:25:26)
    at _end (C:\Users\Tomasz\AppData\Roaming\npm\node_modules\beefy\node_modules\through\index.js:61:9)
    at Stream.stream.end (C:\Users\Tomasz\AppData\Roaming\npm\node_modules\beefy\node_modules\through\index.js:70:5)
    at Stream.onend (stream.js:59:10)
    at emitNone (events.js:72:20)
    at Stream.emit (events.js:166:7)
    at drain (C:\Users\Tomasz\AppData\Roaming\npm\node_modules\beefy\node_modules\through\index.js:33:23)
    at Stream.stream.queue.stream.push (C:\Users\Tomasz\AppData\Roaming\npm\node_modules\beefy\node_modules\through\index.js:41:5)
    at Stream.end (C:\Users\Tomasz\AppData\Roaming\npm\node_modules\beefy\node_modules\through\index.js:17:35)
npm ERR! Test failed.  See above for more details.

The command I'm running is

beefy app/entry.js 

Then when I request http://localhost:9966/bundle.js beefy crashes with the buf error above.

It's certainly possible I'm hitting some weird edge case, but it really seems like beefy is just broken on the most common development environments for versions of node released in the past ~3 months. Seems like a pretty big issue...

@yocontra
Copy link

Also getting this on 5.2.0

@mattstyles
Copy link

Which browserify transforms are you using?

I got this when I set up my babelify config wrong, works fine when I fixed my cruddy config. OSX with node 5.2.0.

Although live reload is behind but thats a separate issue.

@dy
Copy link

dy commented Dec 25, 2015

After updating from 0.10 to 5.3.0 also started having this issue. It crashes when I have some rough syntax mistake in a file, like window.;

@dy dy mentioned this issue Dec 25, 2015
@berleant
Copy link

I go this same error, and changing my dependencies from browserify 13 to 12 fixed it.

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