Reputation: 382
i'm using service worker for PWA in NextJS12 application and I got this error :
Failed to execute 'has' on 'CacheStorage': Unexpected internal error.
I googled it but can't find any solution, do you have any solution for this error ?
Upvotes: 1
Views: 211
Reputation: 98
i got a couple of issues while working with next-pwa so i just start using serwist and everything looks fine
Upvotes: 0
Reputation: 11
const withPWA = require('next-pwa')
module.exports = withPWA({
pwa: {
disable: process.env.NODE_ENV === 'development', //make sure to disable PWA on development
register: true,
scope: '/app' }
})
Upvotes: 0