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
ghenne
August 18, 2025, 10:00am
2
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
[
](https://skegradreader.volt.live/)
Thank you
ghenne
August 19, 2025, 12:49pm
4
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.