---
title: "Discussion on \"how to deploy react project with warnings on netlify.\" | Hashnode"
description: "Discussion on \"how to deploy react project with warnings on netlify.\". I was deploying my react page on netlify when I got this error \"Build failed due to a user error: Build script returned non-zero exit code: 2\"\nI saw some warnings related to variable dependencies not being in the useEffect but I didn't want to solve ..."
url: "https://hashnode.com/posts/how-to-deploy-react-project-with-warnings-on-netlify/63af3ddbb4b9edd609b7bc2f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [how to deploy react project with warnings on netlify.](https://vinaypatil.hashnode.dev/how-to-deploy-react-project-with-warnings-on-netlify?utm_source=hashnode&utm_medium=feed)

I was deploying my react page on netlify when I got this error "Build failed due to a user error: Build script returned non-zero exit code: 2" I saw some warnings related to variable dependencies not being in the useEffect but I didn't want to solve ...

Dec 30, 2022 · 1 min read · vinaypatil.hashnode.dev  
Updated Mar 25, 2023  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#react-js](https://hashnode.com/tag/react-js)
-   [#netlify](https://hashnode.com/tag/netlify)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#mern](https://hashnode.com/tag/mern)

## Written by

[Vinay Patil](https://hashnode.com/@VinayPatil)

@VinayPatil · india

  
[View profile](https://hashnode.com/@VinayPatil)

Programmer for fun!!!

Computer Engineer | React.js Next.js

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
