How can i fix this?

How do i fix this, every time i click build it just shows this error

You fix this by fixing the script that is causing the issue. The console window should normally tell you which one it is and what the problem is.

Look at and fix errors always from top to bottom, not bottom up. There’s likely more errors above. If not, check the editor.log after a failed build for details.