Joaquín Sánchez

Results 1398 comments of Joaquín Sánchez

Can you provide a minimal reproduction? Disablibg the pwa works?

Try adding this entries to your package.json and then run `pnpm`: ```json "resolutions": { "sharp": "0.32.6", "sharp-ico": "0.1.5", } ```

what's the error? I cannot run the examples on my local, the pnpm monorepo requires adding the following to the Astro config file: ```ts vite: { server: { fs: {...

Try adding `sharp` and `sharp-ico` to "resolutions" entry to your package.json file with 0.32.0 version: sharp 0.33.0+ change native libraries, or try installing the corresponding native packages. ```json "resolutions": {...

can you add `injectRegister: false` to your pwa options? maybe there is a race condition and the `registerSW.js` generation, that file shouldn't be generated if using virtual pwa modules (the...

It seems we need to review the Astro integration, the file is generated in the server folder, that file shouldn't be on the sw.js precaching manifest: `$server_build/registerSW.js`

Once `injectRegister: false` added to my fork, the file not being generated and the sw.js should be fine now. I'll check changes in Astro next weekend.

So, `$server_build` is CF stuff: where is the `dist/index.html` file?

uhmm, you need navigate fallback there, at least 1 html page to use it for the offline handler

so, `output: 'server'` is for SSR app (?), that's new for me, we need to prerender some html page