domenic / count-to-6

An intro to some ES6 features via a set of self-guided workshops.
Other
326 stars 76 forks source link

HELLO ES6 example not working i.e. not verify.. #31

Closed vishant-dhandha closed 8 years ago

vishant-dhandha commented 8 years ago

My helloES.js contains..

console.log("HELLO ES6");

count-to-6 verify helloES.js

when i verify first example of count-to-6.. it throws Error shown below..BTW count-to-6 run helloES.js works fine..

?exercises.HELLO ES6.compare.title || common.exercise.compare.title || compare.title?

/usr/lib/node_modules/count-to-6/node_modules/workshopper-exercise/comparestdout.js:19
  return new Array(sz + 1).join(ch)
         ^
 RangeError: Invalid array length
    at repeat (/usr/lib/node_modules/count-to-6/node_modules/workshopper-exercise/comparestdout.js:19:10)
    at center (/usr/lib/node_modules/count-to-6/node_modules/workshopper-exercise/comparestdout.js:25:13)
    at Exercise.transform (/usr/lib/node_modules/count-to-6/node_modules/workshopper-exercise/comparestdout.js:57:40)
    at Transform._read (/usr/lib/node_modules/count-to-6/node_modules/workshopper-exercise/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:184:10)
    at Transform._write (/usr/lib/node_modules/count-to-6/node_modules/workshopper-exercise/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:172:12)
    at doWrite (/usr/lib/node_modules/count-to-6/node_modules/workshopper-exercise/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:237:10)
    at writeOrBuffer (/usr/lib/node_modules/count-to-6/node_modules/workshopper-exercise/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:227:5)
    at Transform.Writable.write (/usr/lib/node_modules/count-to-6/node_modules/workshopper-exercise/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:194:11)
    at Stream.ondata (stream.js:51:26)
    at Stream.emit (events.js:95:17)