pushing errors out with console.error for build.js