WrathChaos/react-native-dynamic-vector-icons

Cannot read property "cache" of undefined

smooJitter opened this issue · 3 comments

I am getting an error node_modules/react-native-dynamic-vector-icons/lib/components/Icon.tsx: Cannot read property 'cache' of undefined.

Please advise

Hello @smooJitter,
Can you show me the error? There is literally no 'cache' variable or anything in the Icon.tsx. Are you trying to use it in the Expo project? Also, If it is possible please share me a reproducible example :)

Exactly... I tried to find it. I'll take a closer look, especially considering you don't get this error in your set up. Note, I am running on a device under debug.

I'm using this library more than 20+ projects :) I could not reproduce this issue, can you share with me a reproducible example? Then, I can fix it.