Vue-cli build: SyntaxError: Unexpected token (1:802)

Greetings.

Can anyone please help me understand what (1:802) mean in the error message that vue-cli build threw out?

Also, how do I go about resolving the problem?

Here’s the output when I run ‘npm run build’

⠼ Building for production…

ERROR Failed to compile with 1 errors 9:55:52 AM

error in ./src/app/dashboard/views/Dashboard.vue?vue&type=template&id=26065fae&

Syntax Error: SyntaxError: Unexpected token (1:802)

@ ./src/app/dashboard/views/Dashboard.vue?vue&type=template&id=26065fae& 1:0-462 1:0-462
@ ./src/app/dashboard/views/Dashboard.vue
@ ./src/app/dashboard/router.js
@ ./src/app/dashboard/main.js
@ multi ./src/app/dashboard/main.js

Update

After a lot of trial and error I zeroed in on the cause - array includes() function is not being transpiled/polyfilled by babel.

I’ll create a separate thread to understand why.