URL shortener github clone not working

URL shortener github clone not working
0.0 0

#1

Hello all, I am currently working on the URL shortener project in the API and Microservices module of free code camp.

When I click on the glitch link, I am able to start the project and mess around with it.

However, when I clone the repository locally (from this link: https://github.com/freeCodeCamp/boilerplate-project-urlshortener/ )

and I run npm install then npm start,
I get this error:


> shorturl@0.0.1 start /home/user/urlshortener
> node server.js

events.js:163
      throw er; // Unhandled 'error' event
      ^

I tried re-installing the dependencies, and including/excluding functions in the server.js file. I have also tried using a simple res.return() as well but that is not flying.
Anyone have a clue?
Thanks!