-
Notifications
You must be signed in to change notification settings - Fork 441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404 error for the resource "/partytown/partytown-sandbox-sw.html?1646853715625" #107
Comments
If you are receiving a 404 for that file then it means the service worker is not correctly intercepting the requests. Also, make sure all of the files are copied to your directory, not just |
Thanks @adamdbradley. I have uploaded all contents of I have also confirmed there isn't any file with name |
@naveedahmed1 if you dont mind, can you make a small tutorial for the document section for angular ? :D |
@hiepxanh sure, I'd love to :) For now I just followed the HTML guide under Integrations section (https://partytown.builder.io/html) but I have yet to make it work :D |
I'm experiencing same issue, it seems
hope you find something 😸 |
Thanks @garciadiazjaime while this is fixed, I would also be interested in using
Ref: https://partytown.builder.io/atomics#document-response-headers but I was wondering if setting these headers have any impact on third party scripts like |
hey @naveedahmed1 it seems Is there a way to use Google Adsense with cross origin isolation? however it seems you can register for a token: I'm still intrigued about how hope you get better luck and share the findings 😄 |
I updated the Partytown inline code and updated |
The |
Thanks @adamdbradley I am now receiving below error:
Below is my code:
Can you please guide if I am still missing something? |
Probably its looking for
|
Using atomics maybe a bad idea, since mobile browsers doesn't support atomics. https://caniuse.com/mdn-javascript_builtins_atomics |
@naveedahmed1 @garciadiazjaime I tried integrating GTM with partytown but seems like similar issues. My doubleclick script is failing. Apparently it is not able to parse the content of the script downloaded from doubleclick. |
I have |
Side note: enabling Atomics breaks stripe payment, which seems to require 'Cross-Origin-Embedder-Policy', 'unsafe-none' |
Were you able to fix this issue? Stripe form breaks for me as well when I use |
I was following HTML integration tutorial, however, I was getting the same error. After visiting https://partytown.builder.io/tests/benchmarks/ I was able to copy the .html file (https://partytown.builder.io/~partytown/debug/partytown-sandbox-sw.html?1675291925139=) from there and paste it into /~partytown/debug/ folder and partytown started working with
<!DOCTYPE html><html><head><meta charset="utf-8"><script src="./partytown-sandbox-sw.js?v=0.7.5-dev1674668837610"></script></head></html> |
Note: when |
Any news about that ? |
Also seeing this on Firefox 113 on Windows. I always do a Ctrl+Shift+R by habit to reload my site and was certain something was broken. Can confirm it doesn't do this on a normal refresh. |
Same. Hard reload gets a 404, soft refresh works fine. |
Same here. Is it possible to configure meta robots of the page returned by worker? For example: <meta name="robots" content="noindex"> |
I have the exact same problem and so far no solution... Any tips on how to solve this? |
I recently tried integrating Partytown for my website Mustakbil.com but encountered this error #38 (comment)
Which thankfully, has been fixed in the latest version of Partytown (v 0.4.5), but now I am receiving 404 error for the resource "/partytown/partytown-sandbox-sw.html?1646853715625"
Below are the steps I followed to add partytown to my website:
I copied contents of
@builder.io\partytown\lib\partytown.js
and added it to the script tag in my index.html file.Added below config just above the Partytown script:
Below is my Google Tag Manager code:
Tag Manager code adds:
The text was updated successfully, but these errors were encountered: