DEV Community

Jesusemen Ehimiyein
Jesusemen Ehimiyein

Posted on

I am having problem running (on my local machine I just got) a nodejs app I downloaded from github

I am having problem running (on my local machine I just got) a nodejs app I downloaded from github with mongodb database.

I have installed node js lastest version, I also ran npm install to download the packages and dependencies from vscode terminal and i got an error which i screenshotted

Image description
Image description
Image description
I was expecting to be able view the app on my local machine on localhost:3000, i Created this app on my old laptop but want to view it on my new laptop, I had pushed the files to my github repo. I left coding for while now cant my way around

Top comments (4)

Collapse
 
katafrakt profile image
Paweł Świątkowski

It looks like your ligherosite-master directory has another ligherosite-master directory inside and the internal one is from where you should run npm install.

Collapse
 
jesusemen profile image
Jesusemen Ehimiyein

Ok thanks Pawel, Ill check it out

Collapse
 
jesusemen profile image
Jesusemen Ehimiyein • Edited

After running npm start, this was the error i got in the screnshot. The application
has a mongodb database, seems it not connecting

Image description

Thread Thread
 
katafrakt profile image
Paweł Świątkowski

It seems so, I don't know anything about MongoDB though, especially from nodejs.