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

Server is crashing, no service worker being built, redeclaration of variable. #224

Open
rhiannonbgrant opened this issue May 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@rhiannonbgrant
Copy link

Hey @ShafSpecs, I was installing remix-pwa, I went through all the steps on the getting started page but when i start the server I get this error. I ran the two npm commands, put the couple of lines in the vite config file and created the service worker. I did it a couple of time to make I'd done it right. Let me know if you need any more info to help fix this. Thanks

Screenshot 2024-05-08 at 5 24 22 pm

@ShafSpecs
Copy link
Member

Hey @ShafSpecs, I was installing remix-pwa, I went through all the steps on the getting started page but when i start the server I get this error. I ran the two npm commands, put the couple of lines in the vite config file and created the service worker. I did it a couple of time to make I'd done it right. Let me know if you need any more info to help fix this. Thanks

Screenshot 2024-05-08 at 5 24 22 pm

Looking at the error, it seems you are re-declaring useLoaderData somewhere? Not sure where though

@ShafSpecs ShafSpecs added the bug Something isn't working label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants