I have been working on a Vue.js project for learning purposes, incorporating Quasar and Vuex. However, I keep encountering numerous
Uncaught (in promise) DOMException
errors which appear in the console. The application seems to work fine, but these red errors are concerning. How can I go about debugging and resolving this issue?
Upon refreshing the website, the errors quickly populate the console even before the full app is loaded:
Each error presents as follows:
Uncaught (in promise) DOMException service-worker.js:1
Promise.then (async)
(anonymous) @ workbox-strategies.dev.js:681
step @ workbox-core.dev.js:14
(anonymous) @ workbox-core.dev.js:25
Promise.then (async)
step @ workbox-core.dev.js:24
(anonymous) @ workbox-core.dev.js:32
(anonymous) @ workbox-core.dev.js:11
_getNetworkPromise @ workbox-strategies.dev.js:691
(anonymous) @ workbox-strategies.dev.js:554
step @ workbox-core.dev.js:14
(anonymous) @ workbox-core.dev.js:32
(anonymous) @ workbox-core.dev.js:11
makeRequest @ workbox-strategies.dev.js:578
(anonymous) @ workbox-strategies.dev.js:504
step @ workbox-core.dev.js:14
(anonymous) @ workbox-core.dev.js:32
(anonymous) @ workbox-core.dev.js:11
handle @ workbox-strategies.dev.js:508
handleRequest @ workbox-routing.dev.js:365
(anonymous) @ workbox-routing.dev.js:835
Attempts to clear cache and perform a hard reload do not resolve the issue.
I am launching the app using the npm run dev
script.
The entire codebase can be found on my BitBucket repository