From 675ef014b9bfdae0bf1209ef1fcb327d0f59c3c4 Mon Sep 17 00:00:00 2001 From: Raymond Kao Date: Wed, 13 Jan 2016 15:08:06 -0500 Subject: [PATCH] Module was using it's own mongoose version which is causing it to do the wronge fetch since it doesnt have DB access for it's instance. Updated package.json to remove mongoose ~3.8.8 as a dependency and make it a devDependency instead to fix this. --- package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index e022e10..da17719 100644 --- a/package.json +++ b/package.json @@ -17,10 +17,8 @@ }, "author": "Oliver Brooks", "license": "MIT", - "dependencies": { - "mongoose": "~3.8.8" - }, "devDependencies": { + "mongoose": "~3.8.8", "bluebird": "^2.3.6", "mocha": "~1.18.2", "chai": "~1.9.1"