Node.Js website stalling when using Mongoose or MongoDB

I am trying to run a website on an Ubuntu Server with CyberPanel, Node 14.4. I have edited the context settings in OLS and the website works. That is untill, I put the code const mongoose = require(‘mongoose’) in my Server.js, npm i mongoose is okay but adding it to the code stalls the website.

I am also using body-parser, ejs and other modules but they work.

as like any link for help Mongoose or MongoDB useing help

for using Mongoose or MongoDB