node.js Cannot find module

  node.js, question

It is normal locally, but there is an error on the server.
The problem is as follows:图片描述

app.js图片描述

Directory:图片描述

Mongoose.js content:图片描述

I have been searching for a long time and have not found out the problem. Please ask the Great God to see what is wrong. I can’t thank you enough! ! !

Your directory name is clearly calledconfigs, why code written by inside./config/ ....