Tell us what’s happening:
I always get this error when running the tests:
// running tests
Root level logger middleware should be active
// tests completed
I’ve tried removing the .env-related stuffs from the last challenge, I’ve tried npm update from similar posts in the forum, I’ve changed my string format to look like the hint. I have no idea why the tests won’t pass.
Can you confirm that your current myApp.js is identical to what is showing up on GitHub (that I cloned)? I am starting to wonder if what you have locally and what shows on GitHub (that works) is different.
Show me what you see in the terminal, when you run:
git diff origin/main
Also, make sure to stop/restart the app each time you make changes.
Does using http://127.0.0.1:3000 give you a checkmark? It won’t actually pass but it can still give you a checkmark. I guess you can also try changing the port in server.js to test it.
You might also try using a VPN just to see if it changes anything. I’d maybe also try with Chrome in a private window with no extensions just to make sure it isn’t an extensions issue.
Your code is passing for me and I haven’t seen anything in the code or screenshots that seems off. The only thing I noticed is that the loopback is logged as ::1 which is IPv6. I don’t see that with my system for the /json route (I do see it for favicon for whatever reason).
I think the only way to really troubleshoot this would be to manually add the fcc-express-bground-pkg package code and do some logging.