Skip to content
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

[bug]body._method.toUpperCase is not a function #5

Closed
logzh opened this issue Jan 3, 2021 · 1 comment
Closed

[bug]body._method.toUpperCase is not a function #5

logzh opened this issue Jan 3, 2021 · 1 comment
Assignees
Labels

Comments

@logzh
Copy link

logzh commented Jan 3, 2021

image

image

nodejs.TypeError: body._method.toUpperCase is not a function
    at overrideMethod (/data/xx/node_modules/koa-override/index.js:19:29)
    at dispatch (/data/xx/node_modules/koa-compose/index.js:42:32)
    at bodyParser (/data/xx/node_modules/koa-bodyparser/index.js:86:11)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async /data/xx/node_modules/koa-static-cache/index.js:51:63
    at async notfound (/data/xx/node_modules/@xxx/xxx/node_modules/egg/app/middleware/notfound.js:5:5)
    at async meta (/data/xx/node_modules/@xxx/xxx/node_modules/egg/app/middleware/meta.js:12:5)
    at async healthy (/data/xx/node_modules/egg-healthy/app/middleware/egg_healthy.js:21:5)

https://github.com/node-modules/koa-override/blob/master/index.js#L19

@fengmk2
Copy link
Member

fengmk2 commented Jun 23, 2024

#7

@fengmk2 fengmk2 closed this as completed Jun 23, 2024
@fengmk2 fengmk2 added the bug label Jun 23, 2024
@fengmk2 fengmk2 self-assigned this Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants