You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting this error and my svelte component will not load at all. It works perfectly fine in dev environment but when I build or run preview it stops working and the error is thrown in the console.
This component is being used in a astro file with the client directive of load
This only happens in production build and the component works perfectly fine in dev environment
Logs
faq/:1 [astro-island] Error hydrating /_astro/FaqQuestion.B9nkJrIu.js TypeError: Cannot read properties of null (reading 'nodeType')
at Ut (template.BZob6Wd_.js:1:8993)
at G (FaqQuestion.B9nkJrIu.js:1:1234)
at render.Eek01tEQ.js:1:1270
at Sn (template.BZob6Wd_.js:1:5360)
at U (template.BZob6Wd_.js:1:6097)
at k (template.BZob6Wd_.js:1:2186)
at bt (template.BZob6Wd_.js:1:2805)
at render.Eek01tEQ.js:1:1212
at Sn (template.BZob6Wd_.js:1:5360)
at U (template.BZob6Wd_.js:1:6097)
Describe the bug
I am getting this error and my svelte component will not load at all. It works perfectly fine in dev environment but when I build or run preview it stops working and the error is thrown in the console.
Reproduction
https://gist.github.com/AdrianButler/4b04009c797bf37599c6763d09111a0b
This component is being used in a astro file with the client directive of load
This only happens in production build and the component works perfectly fine in dev environment
Logs
System Info
Severity
blocking all usage of svelte
The text was updated successfully, but these errors were encountered: