Closed this issue 8 years ago · 1 comments
error: AssertionError: app.use() requires a generator function
First sentence in the docs:
Note: This master branch is for koa's upcoming version koa@2. Take a look at the v1.x branch for koa@1.
koa@2 middleware is not compatible with koa@1