TypeError: code must be a number or string #319

Closed
fengmk2 opened this Issue Apr 15, 2014 · 1 comment

Projects

None yet

2 participants

@fengmk2
Member
fengmk2 commented Apr 15, 2014
TypeError: code must be a number or string
    at status (/home/mk2/git/cnpmjs.org/node_modules/koa/node_modules/statuses/index.js:46:11)
    at Object.status (/home/mk2/git/cnpmjs.org/node_modules/koa/lib/response.js:75:41)
    at Object.status (/home/mk2/git/cnpmjs.org/node_modules/koa/node_modules/delegates/index.js:91:31)
    at Object.exports.show (/home/mk2/git/cnpmjs.org/controllers/registry/module.js:85:17)
    at GeneratorFunctionPrototype.next (native)
    at Object.syncByInstall (/home/mk2/git/cnpmjs.org/middleware/sync_by_install.js:39:10)
    at GeneratorFunctionPrototype.next (native)
    at Object.<anonymous> (/home/mk2/git/cnpmjs.org/node_modules/koa-middlewares/node_modules/koa-router/node_modules/koa-compose/index.js:37:12)
    at GeneratorFunctionPrototype.next (native)
    at Object.next (/home/mk2/git/cnpmjs.org/node_modules/co/index.js:77:21)
@fengmk2 fengmk2 added the bug label Apr 15, 2014
@dead-horse dead-horse added a commit that referenced this issue Apr 16, 2014
@dead-horse dead-horse hotfix #319 69a8c92
@dead-horse dead-horse added a commit that closed this issue Apr 16, 2014
@dead-horse dead-horse hotfix, close #319 01f2187
@mgenev
mgenev commented Jun 6, 2015

getting this currently with the latest koa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment