Cannot read property ‘addAll’ of undefined” It’s breaking on line 6, where I try to addAll to the cache. Progressive Web App

Solution:-  Copy and paste the address seen there in a regular instance of Chrome and everything worked correctly.

 

It seems the Cache API is not working in the browser you are using to view your site. I had this error come up when starting my web app in debug mode through visual studio which launches it’s own instance of Chrome. For some reason the Cache API did not work there. I used the address seen there in a regular instance of Chrome and everything worked correctly.

Add Comment