These are chat archives for Automattic/mongoose

26th
Apr 2015
Joe Gornick
@jgornick
Apr 26 2015 04:18
Hey folks, I am trying to register a model from a "required" schema and I keep getting "TypeError: Undefined type undefined at paths.name". I just can't seem to figure out why I'm getting this issue.
Joe Gornick
@jgornick
Apr 26 2015 04:49
@vkarpov15 You around?
Joe Gornick
@jgornick
Apr 26 2015 15:08
Hey folks, I’m trying to compile a model via a custom connection and I keep getting "TypeError: Undefined type undefined at paths.name” when my name type is a String. I’m also using babel to transpile from es6 to es5.
Joe Gornick
@jgornick
Apr 26 2015 15:21
I guess there’s a difference, I am requiring my schema from another package I installed. Does this not allow me to compile models from another packages schema?
Joe Gornick
@jgornick
Apr 26 2015 17:53
Am I right in saying that the creation of schemas to the compiling of models is tightly coupled to a single import (require) of mongoose?