blank page after npm run build with "syntax error: unexpected token <"

UI Components for JSF
Post Reply
eyoung3
Posts: 2
Joined: 29 Jul 2021, 14:16

03 Jul 2022, 03:16

I just picked up Sapphire and took v.3.3.0 for a spin.

'Npm run serve' looks good, but after a successful 'npm run build', the page is blank and I see these errors in Chrome developer:
Uncaught SyntaxError: Unexpected token '<'
app.2c68d01b.js:1 Uncaught SyntaxError: Unexpected token '<'

I tried out an older version with 3.2.0 and same issue. Any advice?

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

03 Jul 2022, 14:32

You are in the wrong forum this is for PrimeFaces JSF.

You want one of these Saphire forums... viewforum.php?f=105
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 27 guests