Node.js reported an error in support of es6.

  node.js, question

Node version is as follows

➜  kanga git:(master) ✗ node --version
 v0.10.33

Start with harmony

node --harmony app.js

Why do you still make mistakes?

/Users/iyourplus/abc/kanga/node_modules/koa/node_modules/composition/index.js:111
 function* promiseToGenerator(promise) {
 ^
 SyntaxError: Unexpected token *
 at Module._compile (module.js:439:25)
 at Object.Module._extensions..js (module.js:474:10)
 at Module.load (module.js:356:32)
 at Function.Module._load (module.js:312:12)
 at Module.require (module.js:364:17)
 at require (module.js:380:17)
 at Object.<anonymous> (/Users/iyourplus/abc/kanga/node_modules/koa/lib/application.js:10:19)
 at Module._compile (module.js:456:26)
 at Object.Module._extensions..js (module.js:474:10)
 at Module.load (module.js:356:32)