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

RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: undefined #12

Open
emi911 opened this issue Oct 13, 2024 · 1 comment
Open

Comments

@emi911
Copy link

emi911 commented Oct 13, 2024

No description provided.

@emi911
Copy link
Author

emi911 commented Oct 13, 2024

Server running on http://localhost:4000
Mongoose Connected
RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: undefined
at ServerResponse.writeHead (node:_http_server:352:11)
at ServerResponse._implicitHeader (node:http_server:338:8)
at write
(node:_http_outgoing:945:9)
at ServerResponse.end (node:_http_outgoing:1056:5)
at ServerResponse.send (C:\Users\Rapid\Desktop\1c\flipkart-mern\node_modules\express\lib\response.js:232:10)
at ServerResponse.json (C:\Users\Rapid\Desktop\1c\flipkart-mern\node_modules\express\lib\response.js:278:15)
at module.exports (C:\Users\Rapid\Desktop\1c\flipkart-mern\backend\middlewares\error.js:31:32)
at Layer.handle_error (C:\Users\Rapid\Desktop\1c\flipkart-mern\node_modules\express\lib\router\layer.js:71:5)
at trim_prefix (C:\Users\Rapid\Desktop\1c\flipkart-mern\node_modules\express\lib\router\index.js:326:13)
at C:\Users\Rapid\Desktop\1c\flipkart-mern\node_modules\express\lib\router\index.js:286:9

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

No branches or pull requests

1 participant