These are chat archives for Automattic/mongoose

3rd
Jun 2015
Alejandro Duarte Sánchez
@lexds1591
Jun 03 2015 16:58
anyone know why in mongoose subdocuments don't return some properties
this is mongoose : http://pastebin.com/meig0dFw
in mongo into affirmations has two properties, _id and id_affirmation but in mongoose hasn't
and I took a look in other computer and works fine
Valeri Karpov
@vkarpov15
Jun 03 2015 21:57
@aredo that's just a warning. Try an rm -rf node_modules && npm cache clear && npm install - that's usually because you switched versions of node / io without re-installing mongoose
@lexds1591 does your schema include a ref? This may be an issue re: #3020