You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my case I was following the codelab in spanish and it had this line in the main.js file: import swURL from 'sw:../service-worker.js';
and below it says this: The import syntax for the service worker URL is required so that our build tool, WMR, can build the service worker correctly. If you don't use WMR, set swURL as the path to your service worker.
So I changed the import line to this and is working now 👍 : const swURL = '../service-worker.js';
After setting up step 3 of the PWA training and fill up
service-worker.js
we have this error in the console.Any idea how to fix this ?
The text was updated successfully, but these errors were encountered: