Open josefarrugia opened 5 years ago
I'm having the exact same problem. Only started occurring a few days ago
Hey Dianne,
Don’t sweat on it! My Fuji X-T30 came with what looks like a split ring! Used the strap over the weekend! Still trying to find out the optimised way of using it as a shoulder strap.
JF
On 9 Sep 2019, at 10:14 pm, Samuel TLG notifications@github.com wrote:
I'm having the exact same problem. Only started occurring a few days ago
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
I'm also having the same issue - intermittently!
Someone known as josewl, and @stsvilik proposed a workaround for Slate, which is to manually change dev-server index within node_modules, or use an alternative toolkit such as Slatest (shameless plug!).
snippetOptions: {
rule: {
match: /<head[^>]*>/i,
fn: function(snippet, match) {
return match + snippet;
}
}
}
(Overriding the default config's regex match /<body[^>]*>/i
)
It makes BS inject it's magic into the <head>
rather than <body>
.
Shopify fucks with the body tag during load; using Boomerang to test load times or whatever high jinks it gets up to. We're avoiding that hot mess by telling BS to wack it in head instead.
Ref: https://community.shopify.com/c/Technical-Q-A/window-BOOMR-throws-an-error/m-p/575778/highlight/true#M11525 Ref: https://github.com/BrowserSync/browser-sync/issues/1700 Ref: https://community.shopify.com/c/Technical-Q-A/Unknown-error-using-Slate-and-Browser-Sync/m-p/564878/highlight/false#M10615
Issue details
I am currently using Shopify Slate to build a theme and I am now getting the following error printed out on my view:
"); } else { win._boomrl = function() { bootstrap(); }; if (win.addEventListener) { win.addEventListener("load", win._boomrl, false); } else if (win.attachEvent) { win.attachEvent("onload", win._boomrl); } } doc.close(); } var link = document.createElement("link"); if (link.relList && typeof link.relList.supports === "function" && link.relList.supports("preload") && ("as" in link)) { window.BOOMR.snippetMethod = "p"; link.href = window.BOOMR.url; link.rel = "preload"; link.as = "script"; link.addEventListener("load", promote); link.addEventListener("error", function() { iframeLoader(true); }); setTimeout(function() { if (!promoted) { iframeLoader(true); } }, LOADER_TIMEOUT); BOOMR_lstart = new Date().getTime(); where.parentNode.appendChild(link); } else { iframeLoader(false); } function boomerangSaveLoadTime(e) { window.BOOMR_onload = (e && e.timeStamp) || new Date().getTime(); } if (window.addEventListener) { window.addEventListener("load", boomerangSaveLoadTime, false); } else if (window.attachEvent) { window.attachEvent("onload", boomerangSaveLoadTime); } if (document.addEventListener) { document.addEventListener("onBoomerangLoaded", function(e) { e.detail.BOOMR.init({}); e.detail.BOOMR.t_end = new Date().getTime(); }); } else if (document.attachEvent) { document.attachEvent("onpropertychange", function(e) { if (!e) e=event; if (e.propertyName === "onBoomerangLoaded") { e.detail.BOOMR.init({}); e.detail.BOOMR.t_end = new Date().getTime(); } }); } })(); if (!isDuplicatedThankYouPageView()) { setCookieIfThankYouPage(); window.ShopifyAnalytics.lib.page( null, {"pageType":"home"} ); } }); var eventsListenerScript = document.createElement('script'); eventsListenerScript.async = true; eventsListenerScript.src = "//cdn.shopify.com/s/assets/shop_events_listener-acf771159f9849ef6e5265782c99efe8b99406214c96a4373224ecafe285d7bb.js"; document.getElementsByTagName('head')[0].appendChild(eventsListenerScript); })();
Additionally, this is the line in question with the error:
doc.write("<body onload='document._boomrl();'><script id="__bs_script__">//<![CDATA[
I am not the only one experiencing this issue as found here on the Shopify developer forums here.
Affected platforms
Browsersync use-case
Any thoughts or ideas? Let me know if I missed anything out!