New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: code must be a number or string #319

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

Comments

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 added a commit that referenced this issue Apr 16, 2014

fengmk2 added a commit that referenced this issue Apr 16, 2014

@mgenev

This comment has been minimized.

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