stackgl / shader-school

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

SyntaxError: Line 78: Unexpected token throw while parsing #77

Open siahlah opened 10 years ago

siahlah commented 10 years ago

The lesson menu displays fine in the browser, but when I try to click into any lesson I get this error:

SyntaxError: Line 78: Unexpected token throw while parsing /Users/siah/.nvm/v0.11.12/lib/node_modules/shader-school/node_modules/xhr/index.js
    at Stream.end (/Users/siah/.nvm/v0.11.12/lib/node_modules/shader-school/node_modules/browserify/node_modules/insert-module-globals/index.js:71:21)
    at _end (/Users/siah/.nvm/v0.11.12/lib/node_modules/shader-school/node_modules/browserify/node_modules/insert-module-globals/node_modules/through/index.js:65:9)
    at Stream.stream.end (/Users/siah/.nvm/v0.11.12/lib/node_modules/shader-school/node_modules/browserify/node_modules/insert-module-globals/node_modules/through/index.js:74:5)
    at Transform.onend (/Users/siah/.nvm/v0.11.12/lib/node_modules/shader-school/node_modules/browserify/node_modules/readable-stream/lib/_stream_readable.js:505:10)
    at Transform.g (events.js:196:16)
    at Transform.EventEmitter.emit (events.js:126:20)
    at /Users/siah/.nvm/v0.11.12/lib/node_modules/shader-school/node_modules/browserify/node_modules/readable-stream/lib/_stream_readable.js:942:16
    at process._tickCallback (node.js:339:11)

OSX, node 0.11.12, Mac Mini 2012

Also tried with: Thinkpad x201s running Arch Linux, node 0.11.12 and also node 0.10.28 Same problem shows up.