Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nextjs-end breaks on refreshing the page due to auth-service-worker error #294

Open
Hr1t1k opened this issue May 22, 2024 · 1 comment
Open

Comments

@Hr1t1k
Copy link

Hr1t1k commented May 22, 2024

I cloned the nextjs-end locally and followed all the steps mentioned correctly also set up firebase hosting , Everything works correctly when the website is opened for the 1st time .

When the website is refreshed after some time it throws an error

Uncaught (in promise) FirebaseError: Firebase: Need to provide options, when not being deployed to hosting via source. (app/no-options).
at initializeApp (auth-service-worker.js?firebaseConfig=%7B%22apiKey%22%3A%22AIzaSy....

But when I unregister the service worker by going on application tab in dev tools , then it works fine for some time ,

@ESRuth
Copy link

ESRuth commented May 27, 2024

Issue is better described in #295.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants