We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It's returning to me the following error in console:
Here is my configuration:
new SWPrecacheWebpackPlugin({ cacheId: 'teste', filename: 'service-worker.js', importScripts: ['./firebase-messaging-sw.js'], staticFileGlobs: ['dist/**/*.*'], minify: true, stripPrefix: 'dist/' })
Here is my firebase-messaging-sw.js:
import * as firebase from 'firebase' require('firebase/firestore') firebase.initializeApp({config}) const messaging = firebase.messaging()
Error during service worker registration:
TypeError: Failed to register a ServiceWorker: ServiceWorker script evaluation failed
The text was updated successfully, but these errors were encountered:
Me to, how to add?
Sorry, something went wrong.
same problem, any solution?
No branches or pull requests
It's returning to me the following error in console:
Here is my configuration:
Here is my firebase-messaging-sw.js:
Error during service worker registration:
The text was updated successfully, but these errors were encountered: