Uncaught SyntaxError: Unexpected token <
-
*A new/fresh Quasar build. Once deployed to Netlify it is giving the following:
Uncaught SyntaxError: Unexpected token <*No changes to any part of code after running ‘quasar create <project>’
*Runs without issues in dev environment.
*Example pages (2 completely different builds/domains, same issue):
-https://tkwebdev23.netlify.com (view console)
-https://kittypawscr.netlify.com (view console)*Tried with (and without) adding the following to quasar.conf.js as Netlify is looking for dist/index.html (same issue):
distDir: ‘dist’*Example of errors in console (numbers of course change after each build, but still same error for every build):
app.e1d5c965.js:1 Uncaught SyntaxError: Unexpected token <
runtime.10a79ea8.js:1 Uncaught SyntaxError: Unexpected token <
vendor.b1d96465.js:1 Uncaught SyntaxError: Unexpected token < -
This post is deleted! -
@tkwebdev23 Did you find any solution to their issue?
-
@tkwebdev23 @Christal
You can tryquasar build --debug
and see if there are any build errors for production code -
@Hawkeye64 There is no error with
quasar build --debug