Failed to register a ServiceWorker for scope, ServiceWorker script evaluation failed #17275
Unanswered
maximilianfixl
asked this question in
CLI - PWA mode
Replies: 1 comment
-
I don't use PWA but maybe it is the same issue i had here #17258 (comment) Also see if restarting the dev server helps. There might be duplicate script loaded(ie. already running). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When creating a PWA with
"@quasar/cli":"^2.3.0"
withvite
. I have a problem withthe creation of service workers in
workboxMode: 'injectManifest'
.What is expected?
No error messages in the Chrome (
v. 125.0
) console. Currentconsole.error
message:The Service Worker files are not renamed and have the original name,
that was assigned during generation.
The Service Worker files
(The
pushnotification(self)
function only containsaddEventListener.)
custom-serivce-worker.ts
register-serivce-worker.ts
What have I done to try and fix the problem?
sw.js
file in the.quasar
directory and have itand regenerate it.
node_modules
andyarn.lock
were deleted and recreated.https
but onhttp
.latest versions.
What is the aim of the current implementation?
notifications in the browser.
Does anyone have experience with this problem and can help me at this point?
help me at this point?
I would be very grateful for any feedback.
Beta Was this translation helpful? Give feedback.
All reactions