wwwg / kahoot.js

A library for interacting with Kahoot API.
MIT License
28 stars 8 forks source link

ERROR #2

Closed haylinmoore closed 7 years ago

haylinmoore commented 7 years ago

class Kahoot extends EventEmitter { ^^^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object. (/home/ubuntu/workspace/.kahoot/node_modules/kahoot.js/index.js:1:76) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10)

wwwg commented 7 years ago

Please read the README before opening an issue. You are using an old version of node.js.