Remove mongoose dep from error