PWA Error Type Error

Hi

Getting the following error on PWA App tuning on iOS or MACos in Safari Browser.

[PWA] Error during service worker registration:
TypeError: SyntaxError: Unexpected identifier ‘s’. Expected either a closing ‘]’ or a ‘,’ following an array element.

Any thoughts…

Thank you

I tried to reproduce this but was unable to.

I created a new project, deployed it to a server, then opened it using Safari. It worked properly.

Could it be a problem in your code? Send me the URL if you’re stuck - I’ll try it here.

Hi George

Here is the link

[

SKEGradReader
skegradreader.volt.live

192.png

](https://skegradreader.volt.live/)

Thank you

Found it - this is a good one.

There’s a syntax error in your pwa.js file. This is generated by AppStudio, in part using your file names. Here’s the offending line:

  'jqwidgets/images/books/Harry Potter and the Philosopher's Stone.jpg',

There’s a single quote embedded in the filename, which then escapes the string. Fix the filename and you should be fine.