dstroot / skeleton

Node Express MongoDB Bootstrap Passport... all rolled up into juicy goodness
skeleton-app.jit.su
MIT License
369 stars 47 forks source link

Removing node-foursquare breaks console/debug logging. #39

Closed jbogatay closed 9 years ago

jbogatay commented 9 years ago

Commenting and/or removing the

require('node-foursquare')

in api.js breaks the app. The console colors are no longer available.

debug('listening on port ' + app.get('port').toString().green.bold);
                                                           ^
TypeError: Cannot read property 'bold' of undefined
dstroot commented 9 years ago

Yes, should be an explicit dependency. Try:

var colors = require('colors');
jbogatay commented 9 years ago

Yup :+1: