Quasar: SyntaxError: Unexpected token '>' and ReferenceError: Can't find variable: webpackJsonp

Created on 17 Mar 2018  路  2Comments  路  Source: quasarframework/quasar

Hi. I'm using the new quasar 0.15 template.

I have a blank page on safari under iOS 9.3.5 (can't be update more than that).

When I inspect it with safari devtools I see 2 errors:

SyntaxError: Unexpected token '>' in vendor chunk
ReferenceError: Can't find variable: webpackJsonp in app chunk

I think it is related to es6 support. At least the first error I think it refers to arrow function =>

Is there any way to support this browser with some babel configuration?

Most helpful comment

That was it. Both errors are gone after I've replaced the problematic library.

Thank you.

All 2 comments

Hi,

  1. You are using an ES6 version of a library you are importing, instead of the ES5 version. "node_modules" do not go through Babel.
  2. This should go to the CLI repo.

That was it. Both errors are gone after I've replaced the problematic library.

Thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danikane picture danikane  路  3Comments

xereda picture xereda  路  3Comments

florensiuslaylim picture florensiuslaylim  路  3Comments

fnicollier picture fnicollier  路  3Comments

lukadriel7 picture lukadriel7  路  3Comments