Activate mongodb in the dist file