vuejs got syntaxError when production buid

I'm developing Vuejs project with Vuetify UI framework.

After I run npm run build on the server (AWS), I got Uncaught SyntaxError: Unexpected token and the project show white screen.

Then I try to do npm run build on my laptop, but everything work fine.

I would like to know this error cause of the server environment? or any issue. And how to fix it?

Regards.

#node-js #vue-js

2.75 GEEK