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
Run deploy script (you need to setup the remote repo) npm run deploy
In development mode, the pwa is instalable and works fine.
But when I run next export and add the static site to Github pages, I always get this error:
No matching service worker detected. You may need to reload the page, or check that the scope of the service worker for the current page encloses the scope and start URL from the manifest.
The text was updated successfully, but these errors were encountered:
I'm trying to make a static pwa with
next.js
and tailwind.Steps
create-next-pwa
:gh-pages
dependency and updatepackage.json
next.config.js
npm run deploy
In development mode, the pwa is instalable and works fine.
But when I run
next export
and add the static site to Github pages, I always get this error:No matching service worker detected. You may need to reload the page, or check that the scope of the service worker for the current page encloses the scope and start URL from the manifest.
The text was updated successfully, but these errors were encountered: