sorry for late replay but i did not read any server side course here
but if i am allowed to guess i would use what @horusofoz technique that the issue cold be related to the version you used
check this one
so check the package file that you have in your node project folder and compare each dependency and it’s version with what in the working version of it here express-locallibrary-tutorial/package.json at main · mdn/express-locallibrary-tutorial · GitHub
if you found different in version then try to rebuild the project with the exact version of tools if it run fine then either one or more or at worst all new version has issue with some of the code used
sorry for not giving you answer about your issue but hope that help
and have a nice day for both of you