raise error for misising dependencies