# Production build fails due to eslint \`console.log()\` errors, possible issue with NODE\_ENV

**URL:** <https://answers.netlify.com/t/production-build-fails-due-to-eslint-console-log-errors-possible-issue-with-node-env/8643>\
**Category:** Support\
**Tags:** vuejs, building, deployment\
**Created:** [February 8, 2020, 2:34pm UTC](https://answers.netlify.com/t/production-build-fails-due-to-eslint-console-log-errors-possible-issue-with-node-env/8643 "2020-02-08T14:34:15Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![divya](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/divya/32/65_2.png) [@divya](https://answers.netlify.com/u/divya)\
**Post date:** [March 19, 2020, 4:37pm UTC](https://answers.netlify.com/t/production-build-fails-due-to-eslint-console-log-errors-possible-issue-with-node-env/8643/11 "2020-03-19T16:37:02Z")

</div>

Hey @tmrd,

I’ve had similar issues with the netlify build bot yelling about unexpected console logs (and debuggers!) as well. However, this generally shouldn’t cause the build to fail, so I’m as puzzled by this error as you are. One thing to check as @jen and @Dennis mentioned is to move your `babel-eslint` and `babel-plugin-transform-remove-console` packages to dependencies rather than devDependencies so they are installed when the build runs.

I’ve tried to copy your test config in a vue project of mine and it seems to successfully build and suppress all console.logs, _though it does yell at me for unexpected console.logs_. Here’s a reference to that project if it’s of any help: [GitHub - shortdiv/vue-three](https://github.com/shortdiv/vue-three)

Hope that helps!

---

_[View the full topic](https://answers.netlify.com/t/production-build-fails-due-to-eslint-console-log-errors-possible-issue-with-node-env/8643)._
