ionic-team / ionic-pwa-toolkit

Build lightning fast Progressive Web Apps with zero config and best practices built-in. Go from zero to production ready with Ionic and Stencil (Web Components).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uncaught (in promise) SyntaxError: Unexpected token export at Object.<anonymous> (workbox-core.prod.js:1) at Generator.next (<anonymous>) at n (workbox-core.prod.js:1) at workbox-core.prod.js:1

peterennis opened this issue · comments

Stencil version: (run npm list @stencil/core from a terminal/cmd prompt and paste output below):

C:\ae\adaept.com\aepwa>npm list @stencil/core
@stencil/starter@0.0.1 C:\ae\adaept.com\aepwa
`-- @stencil/core@0.7.24

I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com

Current behavior:

capture275

Expected behavior:
No errors

Steps to reproduce:
Latest version

Related code:

Other information:
https://aepwa-dev.firebaseapp.com/

Same problem here after checking out the current repository.

Uncaught (in promise) SyntaxError: Unexpected token {
    at Object.<anonymous> (workbox-core.dev.js:954)
    at Generator.next (<anonymous>)
    at step (workbox-core.dev.js:14)
    at workbox-core.dev.js:25
const{h:t}=window.App;import{createThemedClasses .......

I also tried older version of stencil/core, but i get the same result.

Hey! This is actually a chrome issue https://bugs.chromium.org/p/chromium/issues/detail?id=810469 . I responded to this issue to get it prioritized with the Chrome team and will be opening a new one if this one does not get any responses.

https://bugs.chromium.org/p/chromium/issues/detail?id=810469

This is marked as "WONTFIX" ???

It links to here:

GoogleChrome/workbox#1433 (comment)

Then this points to a new issue opened by @jeffposnik

https://bugs.chromium.org/p/chromium/issues/detail?id=833501

@jgw96 - I do not see anything from you. . .

@jgw96 @peterennis They have been merged into issue 832202, so the new URL is
https://bugs.chromium.org/p/chromium/issues/detail?id=832202

Indeed, it's a Chrome issue, can be reproduced using standard Cache API instead of Workbox (https://github.com/hwalab-developer/swesmit).