Cannot use Historie with a component which has array #474
Unanswered
josipaznaor
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I want to insert to historie story a component which has array inside it but I get all those errors. I use historie with svelte and svelte kit. Also, is it possible historie use with data from store?
`client.ts:113 TypeError: Cannot read properties of undefined (reading 'disable_scroll_handling') at navigation.js?v=e4f6658a:14:11
warnFailedFetch @ client.ts:113
fetchUpdate @ client.ts:450
await in fetchUpdate (async)
(anonymous) @ client.ts:160
handleMessage @ client.ts:158
(anonymous) @ client.ts:91
client.ts:115 [hmr]
Failed to reload /__resolved__virtual:$histoire-stories. This could be due to syntax errors or importing non-existent modules. (see errors above)
warnFailedFetch @ client.ts:115
fetchUpdate @ client.ts:450
await in fetchUpdate (async)
(anonymous) @ client.ts:160
handleMessage @ client.ts:158
(anonymous) @ client.ts:91
__resolved__virtual:$histoire-stories:11 Uncaught (in promise)
TypeError: Cannot read properties of undefined (reading 'files')
at __resolved__virtual:$histoire-stories:11:23
at client.ts:539:44
at client.ts:456:7
at client.ts:307:57
at Array.forEach ()
at queueUpdate (client.ts:307:35)
at async Promise.all (:6006/story/index 0)
at async handleMessage (client.ts:157:7)`
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions