[Vue3-flicking] TypeError: Cannot set properties of undefined (setting 'hasError')
See original GitHub issueDescription
Hello team!
We noticed from our error monitor that when the first image of our carousel can not be loaded we get the following error.
TypeError: Cannot set properties of undefined (setting 'hasError')
at onError(src/ImReadyManager.ts:241:10)
at ? (src/ImReadyManager.ts:69:14)
at ? (src/Component.ts:98:16)
at Array.forEach(<anonymous>)
at trigger(src/Component.ts:96:16)
at onError(src/loaders/Loader.ts:95:10)
at handler(src/ImReadyManager.ts:188:14)
at ? (src/Component.ts:93:9)
at Array.forEach(<anonymous>)
at trigger(src/Component.ts:92:16)
at onError(src/ImReadyManager.ts:268:10)
at ? (src/ImReadyManager.ts:69:14)
at ? (src/Component.ts:98:16)
at Array.forEach(<anonymous>)
at trigger(src/Component.ts:96:16)
at onError(src/loaders/Loader.ts:95:10)
at ? (src/loaders/Loader.ts:131:12)
at i(src/helpers.ts:95:1)
Version: “@egjs/vue3-flicking”: “4.10.2”
Steps to check or reproduce
- Create a flicking carousel with images
- Set the first image of the carousel to return 404
And you should notice that the error is triggered.
Could you please catch this error or is there a way we can catch it because it creates a lot of noise in our monitor tool?
Thanks in advance!
Issue Analytics
- State:
- Created 10 months ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
core.js:6456 ERROR TypeError: Cannot set properties of ...
You are getting the error above as you are accessing this.employee which is undefined . You need to assign the value to this.employee...
Read more >SSR Error TypeError: Cannot set properties of undefined ...
SSR Error TypeError: Cannot set properties of undefined (setting 'key') when conditional single slot generated by <template v-if="..." #foo> #6639.
Read more >TypeError: Cannot set properties of undefined (setting 'isVue ...
Bug reported in Vue - General Query / New Component - TypeError: Cannot set properties of undefined (setting 'isVue').
Read more >Bug - Cannot set properties of undefined (setting '1') when ...
Hi, We've found that if using Unity 2022 beta with BestHttp2 added to the project that any UnityWebRequest made will result in a...
Read more >Cannot set property '_DT_CellIndex' of undefined Gentelella ...
Uncaught TypeError: Cannot set property '_DT_CellIndex' of undefined at Ga (jquery.dataTables.min.js:527) at M (jquery.dataTables.min.js:279) at ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We will fix this bug and leave a comment when a patch is released. Thanks for reporting the bug with details!
Hello again @malangfox,
I managed to replicate it and updated your demo closer to ours. Turns out that adding a div wrapper with v-for and img with lazy loading seems to create the problem
Edit: updated the link. I sent wrong demo on initial comment