-
Notifications
You must be signed in to change notification settings - Fork 412
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
auth-service-worker.js not found #299
Comments
If I move the file auth-service-worker.js to /public and refresh, then I see another error:
|
If you look in the package.json you'll see there's an extra build-service-worker task in the scripts block. This is called by the build task and is what packages auth-service-worker.js up and makes it available in the public folder. You'll need to npm install esbuild for this to work. |
did anyone find the solution to this? |
As @rlw87 mentioned, you have to run the build-service-worker script and then it appears to work.
Hope that helps. |
I'm seeing this error when running nextjs-end:
I inspected the network call and could see the request for auth-service-worker.js returned 404.
The text was updated successfully, but these errors were encountered: