Display an error when component.json is required