error out properly when views are not installed