I don't know what to do

I’m working on a program for FRC and even though I don’t have red lines, I keep getting this error when I try to build the code:

BUILD FAILED in 36s
3 actionable tasks: 2 executed, 1 up-to-date
The terminal process “cmd.exe /d /c gradlew build generateVsCodeConfig -Dorg.gradle.java.home=“C:\Users\Public\wpilib\2022\jdk”” terminated with exit code: 1.

I would like to know how can I see what am I doing wrong or how to solve it.
Sorry if I don’t explain myself correctly, English isn’t my native language, thanks.

If you get BUILD FAILED you should have more output above it that tells you what exactly happened.
If you don’t get such output, then you (or your console configuration or similar) maybe redirect or suppress the error stream.

@Prograjuan Have you tried executing with the flags -i -S? This will give you more details about the error that occurred.

Thanks, I already solved it, it seems it had a problem with the installation of another app for programing