Ionic problem with Caché on browser

When I compile on the web and upload it, when a user accesses it, it is when he gives the problem, he has to erase the cache so that he does not get the following error:

ERROR Error: Uncaught (in promise): TypeError: Cannot read property ‘call’ of undefined TypeError: Cannot read property ‘call’ of undefined
at e (vendor.js?v=1:1)
at (main.js?v=1:1)
at t.invoke (polyfills.js?v=1:3)

I have tried in the file index.html add key value in the js that are loaded, so that I do not put them in cache and refresh them well but still follow giving me error.

I do not know if I have to configure something, anyway in my file index.html I have commented this following line:

<script>
if (‘serviceWorker’ in navigator) {
navigator.serviceWorker.register(‘service-worker.js’)
.then(() => console.log(‘service worker installed’))
.catch(err => console.error(‘Error’, err));
}
</script>

When I access the web once it is uploaded, when I inspect it, I get the js files with (from disk cache)

Somebody could help me?