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

Tell us what’s happening:
Describe your issue in detail here.
Hi, Can you tell me please why my answer in the Solution input don’t work?

Your project link(s)

solution: boilerplate-express - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

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

Link to the challenge:

@lasjorg Any thoughts?

You have the wrong version of the fcc-express-bground package.

Try updating using the Shell tab.

npm update --save

Or

  1. Delete the package-lock.json file.

  2. Open the Shell tab and run.

npm rm fcc-express-bground
npm i https://github.com/freeCodeCamp/fcc-express-bground-pkg.git

Now try the submit again.


You can check in the Shell tab:

cd node_modules/fcc-express-bground
cat package.json

Hi, yes it’s worked, thank you

How did that happen?