So I just upgraded to node v4 (on Windows 8.1 x64) and had to reinstall all modules and it seems to have broken this module. It gives the following error:
schema.plugin(deepPopulate)
TypeError: Cannot read property 'prototype' of undefined
at module.exports (C:\~\node_modules\mongoose-deep-populate\lib\plugin.js:6:21)
at Schema.plugin (C:\~\node_modules\mongoose\lib\schema.js:796:3)
So I just upgraded to node v4 (on Windows 8.1 x64) and had to reinstall all modules and it seems to have broken this module. It gives the following error: