Adding data-netlify="true" to the form breaks the build

@daniellupascu It’s hard to see as you’ve only provided a partial screenshot, but it may be being caused by the lint warnings shown at the top.

If there is no actual error then try changing your build command to CI= npm run build

See:
https://answers.netlify.com/t/new-ci-true-build-configuration-treating-warnings-as-errors-because-process-env-ci-true/14434