Basic Node and Express - Implement a Root-Level Request Logger Middleware

Tell us what’s happening:
Describe your issue in detail here.
I get this : // running tests
Root level logger middleware should be active (Test timed out)
// tests completed
after doing this:

app.use((req, res, next) => {
  console.log(`${req.method}  ${req.path} - ${req.ip}`);
  next();
})

Your project link(s)

solution: boilerplate-express (1) - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

Challenge: Basic Node and Express - Implement a Root-Level Request Logger Middleware

Link to the challenge:

Look carefully at your template literal and make sure the number of spaces is as the instructions state.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.