astro-service-worker icon indicating copy to clipboard operation
astro-service-worker copied to clipboard

undefined renderers

Open DorKeinath opened this issue 1 year ago • 1 comments

npm run dev

leads to

[email protected] dev astro dev

error Cannot read properties of undefined (reading 'renderers') File: /mnt/DatenSSD/Daten_Kei/HTML/BJJApp/astro/MatStats/node_modules/astro-service-worker/index.js:27:33 Code: 26 | 'astro:config:setup': async ({ config, command, injectScript }) => { > 27 | renderers = config._ctx.renderers; | ^ 28 | cfg = config; 30 | /** Add SW registration script */ Stacktrace: TypeError: Cannot read properties of undefined (reading 'renderers') at astro:config:setup

DorKeinath avatar Aug 04 '23 21:08 DorKeinath

FYI found this in one of the other issues: https://github.com/thepassle/astro-service-worker/issues/5#issuecomment-1411432182

r-southworth avatar Sep 13 '23 18:09 r-southworth