Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
节点版本 0.11.13 报错:
如何解决?
PS代码是一个简单的例子:
var koa = require('koa'); var app = koa(); app.use(function *(){ this.body = 'Hello World'; }); app.listen(3000);
您必须--harmony在命令行中使用该标志运行 Node,才能启用 Harmony 中的生成器等功能。
--harmony