-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Getting error 404 for /service-worker.js
since 1.0.0-next.207
#3159
Comments
Workaround: |
Try to update kit: {
/* ... */
serviceWorker: {
register: false,
}
} |
Thanks, that helps! (Ignore the pre-edit text, I put the code in the wrong place) |
@Rich-Harris |
Doesn't work |
I see, the error that I'm getting is deferent than this one, and this issue created at 2021, not 2022 :) This is my error message:
|
@smithliam i'm getting the same error on this end. anyone |
go to and click |
Do you guys know why this happened? I fix it by using @sourcegr 's solution, but would like to know the cause. |
Describe the bug
When I updated from 203 to 210 I noticed that I was getting the following errors:
This happens with
npm run preview
and on the actual production site, so I've downgraded back to 206 for now.Reproduction
https://github.com/kevinrenskers/sw-repro
Basically it's just the standard demo app, with adapter-node. Run
npm run build
andnpm run preview
, open the website, and look at the console.Logs
System Info
Severity
blocking an upgrade
Additional Information
No response
The text was updated successfully, but these errors were encountered: