Quantcast
Channel: Node GET request is hanging unable to finish the request and the page keep loading - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by Bjørn Reemer for Node GET request is hanging unable to finish the...

It seems you are not calling your async mongo function. You are only declaring your function. You need to call it by placing () after your declaration like so:(async function mongo() { // Your...

View Article


Answer by Quentin for Node GET request is hanging unable to finish the...

You define a function called mongo but then you never call it.Since you never call it, you never call res.render.Even if you did call it, in the catch branch you never send an error response either.It...

View Article


Node GET request is hanging unable to finish the request and the page keep...

SOLVEDI am currently building an app with Node - Express - MongoDB - ejs.I have a books router that should render the books ejs file and books list from MongoDB.Here's the books.js code:const express =...

View Article
Browsing latest articles
Browse All 3 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>