add try & catch to prevent gulp crashed by require()