remix-pwa / monorepo

Remix PWA v4
https://remix-pwa.run
MIT License
105 stars 23 forks source link

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

Open rhiannonbgrant opened 4 months ago

rhiannonbgrant commented 4 months ago

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 commented 4 months ago

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