Root level logger middleware should be active in year 2021 Feb

Tell us what’s happening:

Can someone tell me where i am doing wrong?

app.use( function(req, res, next){
var s = req.method+" “+req.path+” - "+req.ip;

Your browser information:

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

Challenge: Implement a Root-Level Request Logger Middleware

Link to the challenge:

Hello there,

Without more information, it will be difficult to be sure of the issue, but some Campers have been unable to complete this lesson due to a known issue: Use the .env File - Issue - freeCodeCamp Support - The freeCodeCamp Forum

Otherwise, would you mind sharing a link to your project code? Also, potentially sharing any errors you are coming across?

Hope this helps

Yes Sure.
This might help you to find out weather I am doing something wrong or what ?

Thanks for that.

It looks like this is due to something related to the above linked issue.

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