Change ReactPropTypes invariant's to console.error.