ExtendableEvent is not defined error
Hi,
I always have (in both dev and build) :
Uncaught ReferenceError: ExtendableEvent is not defined
at offline-service-worker.js:3
at Object.
Do you have details how I can reproduce the error? Your setup?
seems like offline-plugin is throwing error. Getting same erro with Quota Exceeded in Google chrome. The demo here link gives this error as well.
@xerosanyam - OK, what do you try to store in the app, could the mass of data be the reason for that? In wich way do you try to store data in the app? In addition, if reasonable, please open a bug for the offline plugin and create the reference here.
@scriptPilot I don't store anything explicitly. This happens with default configuration. Here is the link to issue created on offline-plugin https://github.com/NekR/offline-plugin-pwa/issues/4
We're getting the same error here, it seems that if you host your app in a subpath like :
https://www.hostname.com/subpath/app.js
https://www.hostname.com/subpath/offline-service-worker.js
The app will try to load the offline-service-worker.js without taking the subpath into account :
https://www.hostname.com/offline-service-worker.js
Which give us this error :
Failed to load resource: net::ERR_INVALID_RESPONSE https://www.hostname.com/offline-service-worker.js
index.html:1 Uncaught (in promise) TypeError: Failed to register a ServiceWorker: A bad HTTP response code (404) was received when fetching the script.
offline-service-worker.js:3 Uncaught ReferenceError: ExtendableEvent is not defined
at offline-service-worker.js:3
at Object.<anonymous> (offline-service-worker.js:3)
at n (offline-service-worker.js:3)
at offline-service-worker.js:3
at offline-service-worker.js:3
I've the same issue on my project