What it means
The bundler tried to read one of your files and could not understand it. It is normally a plain syntax error: a missing bracket, an unclosed tag, a stray character. A local build would have caught the same error.
How to fix it
-
Read the file and column above the message
The lines above point at the file and the position.
-
Run the build on your machine
Run
npm run build. If it fails the same way, fix that error first. -
Check for a half-edited file
A coding agent can leave a file half edited, with a tag or bracket opened and never closed. Ask it to fix the syntax in that file.