You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running dev or server mode --> Display this error in terminal
[serve] 404 /~partytown/debug/partytown-sw.js
And display this error in the browser
TypeError: Failed to register a ServiceWorker for scope ('http://localhost:3000/ok/~partytown/debug/') with script ('http://localhost:3000/ok/~partytown/debug/partytown-sw.js'): A bad HTTP response code (404) was received when fetching the script.
I am willing to submit a pull request for this issue.
The text was updated successfully, but these errors were encountered:
harrytran998
changed the title
Astro Partytown not resolved correctly with base path config
Astro Partytown not resolved correctly with base path config in SSR node standalone
Nov 17, 2022
What version of
astro
are you using?lastest
Are you using an SSR adapter? If so, which one?
node
What package manager are you using?
yarn 3
What operating system are you using?
Mac
Describe the Bug
When running dev or server mode --> Display this error in terminal
[serve] 404 /~partytown/debug/partytown-sw.js
And display this error in the browser
TypeError: Failed to register a ServiceWorker for scope ('http://localhost:3000/ok/~partytown/debug/') with script ('http://localhost:3000/ok/~partytown/debug/partytown-sw.js'): A bad HTTP response code (404) was received when fetching the script.
Link to Minimal Reproducible Example
This link stackblitz https://stackblitz.com/github/harrytran998/reproduction-astro-base-path?file=package.json
This link to Github if case Stackblitz does not work https://github.com/harrytran998/reproduction-astro-base-path
Participation
The text was updated successfully, but these errors were encountered: