Diagnosis and reporting tool for npm problems