SyntaxError: Unexpected token '?'

Have the white screen of death on an old iPhone 7 ios13 build with latest ionic frame work 6 and vue 3. Is there anyway to debug core errors? Or what is the method of doing so? All I see is app.d8f1f1e.js as being the offender.

Sounds like it might be an issue with an unsupported JS feature.

Try updating your .browserlistrc file to the following:

Chrome >=60
Firefox >=63
Edge >=79
Safari >=13
iOS >=13

Liam recently posted about this here. They have updated the starter projects to match.

Hero. This precisely.

1 Like

One or more browsers which are configured in the project’s Browserslist configuration will be ignored as ES5 output is not supported by the Angular CLI.
Ignored browsers: chrome 60

  • Generating browser application bundles (phase: setup)… TypeScript compiler options “target” and “useDefineForClassFields” are set to “ES2022” and “false” respectively by the Angular CLI. To control ECMA version and features use the Browerslist configuration. For more information, see Angular

When compiling, how to solve it?

That’s an Angular 15 limitation, downgrade to Angular 14 if you want to support older versions of iOS/Android.

@julio-ionic
Well, thank you。。。。。。