pprathameshmore / QuoteGarden

A RESTful API for quotes. The database currently includes more than 75000 quotes.
https://quote-garden.onrender.com/
35 stars 6 forks source link

Error while running npm command #18

Closed SatyaAchanta closed 3 years ago

SatyaAchanta commented 4 years ago

I came across this repo and quite impressed by the work you did. First of all Kudos for that. When I tried to install npm package, this is what I am seeing. If I am doing anything wrong, please let me know. I also looked into your NPM Registry. However, the npm command mentioned there was npm i quotegarden

Screen Shot 2020-09-21 at 11 39 52 PM
SatyaAchanta commented 4 years ago

Update: running npm i quotegarden garden worked for me, but I had to change my project name in package.json file, Initially the dependency I was trying to install was same the package name I am in. So, I changed my package name inside package.json file to something other than dependency name.

pprathameshmore commented 4 years ago

Is it working now? @SatyaAchanta

SatyaAchanta commented 4 years ago

@pprathameshmore Yes, I could get dependency installed. However, I tried to run the project locally and I see exception in connecting to database. So, my assumption in installing dependency is that we are going to connect to db through dependency, correct ?. If so, you might have to look into why DB connections are not successful.

SatyaAchanta commented 4 years ago

If not, is there any test Database that we can connect to run application locally ?

pprathameshmore commented 3 years ago

@SatyaAchanta Database link is confidential, so it is not available publicly.