Streaming live at 10am (PST)

iOS error: Unexpected keyword 'const'. Const declarations are not supported in strict mode


#1

On iOS using Browserstack I get this error: Unexpected keyword 'const'. Const declarations are not supported in strict mode.

Some elements of the site load and some others don't. I would really appreciate it if someone could help me with what this bug could mean within the context of a Webflow app - I read that it could be a Node.js error which obviously has nothing to do with the site!

Alternatively, I would appreciate if someone with an iphone6 or 7 could check our site on their phone to see if it actually works on a real device, to make sure it's not a Browserstack issue. www.thegoodkind.co

Thanks so much!


#2

Hi @Pascal_T the site is loading fine for me without any errors on my iPhone 7 Plus.

I did however notice that your MailChimp form action did not have "https:" in front of it which can throw a mixed sources error and show an error in the browser window (see point 4 in this MailChimp integration guide). Lovely site, very clean, simple and to the point. I liked the way that the background colors loaded in and then images loaded in over them, super nice load in effect. :smiley:


#3

Thanks @Waldo! :slight_smile: Great point about the form, I hadn't noticed it wasn't working after testing it initially with the embed code. I added the "https" in front of the // form action and it worked great.


#4

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.