From 859e48705da4fbbe387e7d9456bd539246c3be95 Mon Sep 17 00:00:00 2001 From: btomashvili Date: Fri, 25 Nov 2016 02:56:28 +0400 Subject: [PATCH] update mongoose Error : Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' } --- bin/bot-init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/bot-init.js b/bin/bot-init.js index ffb7fee5..e0e560fc 100755 --- a/bin/bot-init.js +++ b/bin/bot-init.js @@ -58,7 +58,7 @@ fs.mkdir(botPath, function(err, res){ , dependencies: { 'superscript': 'latest' , 'sfacts':'latest' - , 'mongoose':'3.8.24' + , 'mongoose':'4.5.10' ,'debug': '~2.0.0' } }