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

"Hello, GLSL" crashes server immediately #140

Open
erhhung opened this issue Aug 26, 2015 · 1 comment
Open

"Hello, GLSL" crashes server immediately #140

erhhung opened this issue Aug 26, 2015 · 1 comment

Comments

@erhhung
Copy link

erhhung commented Aug 26, 2015

What a start to the course! The project installs on OS X flawlessly and starts as expected, but as soon as I select the first lesson "Hello, GLSL", the page goes black until I figured out that the server has crashed:

WORKSHOP URL: http://localhost:12492

200   11ms       299B  /
200  399ms    71.28KB  /index.js ➞ /usr/local/lib/node_modules/shader-school/node_modules/browserify ./index.js -d
200    3ms       282B  /

/usr/local/lib/node_modules/shader-school/node_modules/brfs/node_modules/quote-stream/index.js:70
                if (rawBuf.equals(multiByteBuffers.lineSeparator)) {
                           ^
TypeError: Object – has no method 'equals'
    at DestroyableTransform.write [as _transform] (/usr/local/lib/node_modules/shader-school/node_modules/brfs/node_modules/quote-stream/index.js:70:28)
    at DestroyableTransform.Transform._read (/usr/local/lib/node_modules/shader-school/node_modules/brfs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:172:10)
    at DestroyableTransform.Transform._write (/usr/local/lib/node_modules/shader-school/node_modules/brfs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:160:12)
    at doWrite (/usr/local/lib/node_modules/shader-school/node_modules/brfs/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:326:12)
    at writeOrBuffer (/usr/local/lib/node_modules/shader-school/node_modules/brfs/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:312:5)
    at DestroyableTransform.Writable.write (/usr/local/lib/node_modules/shader-school/node_modules/

I'm using Node v0.10.38.

@mattdesl
Copy link
Member

mattdesl commented Jan 5, 2016

Try upgrading node to a newer version. I just tested on v4.0.0.

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