CyberPanel Community

Node.Js website stalling when using Mongoose or MongoDB

yo
yogesh #1

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.

1 reply
MA
Malik Aamir Ali #2

as like any link for help Mongoose or MongoDB useing help

for using Mongoose or MongoDB

Sign in to reply