Skip to content

Commit 163249f

Browse files
Update mongoose/connect-mongo to latest to deploy on Heroku
On default package.json, heroku deployment fails. Just updating mongoose/connect-mongo package solves the issue for Heroku deployment.
1 parent e7087e6 commit 163249f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: app/templates/_package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"lodash": "~2.4.1",<% if(filters.jade) { %>
1616
"jade": "~1.2.0",<% } %><% if(filters.html) { %>
1717
"ejs": "~0.8.4",<% } %><% if(filters.mongoose) { %>
18-
"mongoose": "~3.8.8",<% } %><% if(filters.auth) { %>
18+
"mongoose": "~4.0.3",<% } %><% if(filters.auth) { %>
1919
"jsonwebtoken": "^5.0.0",
2020
"express-jwt": "^3.0.0",
2121
"passport": "~0.2.0",
@@ -24,7 +24,7 @@
2424
"passport-twitter": "latest",<% } %><% if(filters.googleAuth) { %>
2525
"passport-google-oauth": "latest",<% } %>
2626
"composable-middleware": "^0.3.0",
27-
"connect-mongo": "^0.4.1"<% if(filters.socketio) { %>,
27+
"connect-mongo": "^0.8.1"<% if(filters.socketio) { %>,
2828
"socket.io": "^1.0.6",
2929
"socket.io-client": "^1.0.6",
3030
"socketio-jwt": "^3.0.0"<% } %>

0 commit comments

Comments
 (0)