Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

TypeError: code must be a number or string #319

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

TypeError: code must be a number or string #319

fengmk2 opened this issue Apr 15, 2014 · 1 comment
Labels

Comments

@fengmk2
Copy link
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
Copy link

mgenev commented Jun 6, 2015

getting this currently with the latest koa

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants