Sounds like your spouse is either on a WP or study permit. If you are applying for a TRV when your spouse will only be a visitor there could be concerns about why you are travelling. How long were you in Canada when you had your child. Was your spouse a student at that time?