stackgl / shader-school

:mortar_board: A workshopper for GLSL shaders and graphics programming
Other
4.27k stars 251 forks source link

Crashes immediately on clicking any tutorial #148

Open shobhitg opened 8 years ago

shobhitg commented 8 years ago

Might be related to the fact that I am using Node v5.0.0

Others have faced this in Node v4.0.0 too: https://github.com/chrisdickinson/beefy/pull/97

uffer.js:237
    buf.copy(buffer, pos);
        ^

TypeError: buf.copy is not a function
    at Function.Buffer.concat (buffer.js:237:9)
    at Stream.end (/Users/shobhitg/src/webgl/shader-school/node_modules/beefy/lib/accumulate-error.js:25:26)
    at _end (/Users/shobhitg/src/webgl/shader-school/node_modules/beefy/node_modules/through/index.js:61:9)
    at Stream.stream.end (/Users/shobhitg/src/webgl/shader-school/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 (/Users/shobhitg/src/webgl/shader-school/node_modules/beefy/node_modules/through/index.js:33:23)
    at Stream.stream.queue.stream.push (/Users/shobhitg/src/webgl/shader-school/node_modules/beefy/node_modules/through/index.js:41:5)
    at Stream.end (/Users/shobhitg/src/webgl/shader-school/node_modules/beefy/node_modules/through/index.js:17:35)