Netlify Fails to build my site "Build failed due to a user error: Build script returned non-zero exit code: 2"

Hi @michelestaffiere , thanks for the post.

The error is happening on the quoted line above in the build logs.

Kindly make sure the path to the component SignUp is correct in App.jsx.

Also check the support guide below in order to help you debug your code.