Diagnose for composer error