Your best bet is to run the command in a command window (see the second error message for what it is running) and try that, normally comes back with more information.
Hi , I just ran that command and found out that the error involves something with the target rules. I am not sure why this is happening though, any ideas?
PS: I attached an image of the error in the question
nvm, I believe that regenerating the project files for both actually solved it. After regenerating, I had a typo on the command. Once I ran the command correctly, it notified me of deprecated functionality that I had to remove from the project. So for anyone else having this problem, try regenerating the project files for both the project and the engine and running the build command on the command prompt. This is what helped me solve the problem. Thanks for all of yall that took the time to look at this