New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unrecognized font family 'ionicons' #292
Comments
Where does the code snippet live in the directory structure? Is it in App.vue? I'm not sure if it's a Windows thing, but could you try running it from WSL? |
Its in App.vue and I was not able to run it from WSL, maybe I will try through linux later EDIT: I noticed that in my React native projects the connected devices show up in the DevTool window, but in VueNative one doesn't show the connected devices, just building logs |
this is still an issue and i tried EVERY step from EVERY issue i found on several plattforms (not only git and even for only expo or react native) - it is still relevant and the documentation is literally useless and has so many errors that it's not even fun anymore... icons are not showing due to the font family being unrecognized and loading them 1:1 like in the docs and i also tried several other ways - there not working alone and not in the (also so terribly bad documented) tab navigation i never write issues myself but THIS drives me crazy. even a simple thing like that can't be documented right? seems like i'm giving up vue native at this point |
and btw i dont understand why all the relevant issues here are keep getting closed or ignored for months all the time (like for example the fact that expo web is not working - which makes half of this useless anyways) |
I'am also unable to make the icons works. Anyone had any luck? |
@OsamaMohammed @michug sorry for taking so long to reply. The Vue Native KitchenSink app has an example and uses a workaround for this issue https://github.com/GeekyAnts/KitchenSink-Vue-Native/blob/master/src/boot/setup.vue The workaround is to basically use a relative path to node_modules inside the Let me know if this works for you. |
Didnt work for me |
Running into the same issue. I have been struggling with this for the last 4 days. Tried everything. Downgrade/delete/recreate. No luck. Icons are not showing and "Unrecognized font family 'ionicons'" keeps popping up. Any updates? |
@mahimranjan I couldn't, I cloned the kitchensink repo (repo link), and after some upgrades made it work locally, copied the same setup as that app but it doesn't work for me, I cant pinpoint what is what makes it work for them. Maybe you'll have better luck |
I can't even get the repo to work. "Error: Asset not found: {****}/KitchenSink-Vue-Native/assets/App_Icon_4_No_Transparency.png for platform:" @RishabhKarnad Are you guys still supporting vue-native? |
This seems to be an issue with Expo. This issue mentions it happens on SDK 40. I can't confirm right now if it happens with older SDKs. A workaround mentioned in it seems to be working for some people. It will need to be done in a slightly different way with Vue Native. I'll try it out with the Vue Native Kitchen Sink app and update it if this solves it. |
@RishabhKarnad Any luck with SDK 40? |
The Kitchen Sink app has been updated to Expo SDK 40 and the fix for fonts has been added
|
Yes that worked! Thank you!! |
Description of the bug
In a newly initialized vue-native project, icons doesn't work and fires the error
Unrecognized font family 'ionicons'
Things I've tried so far...
expo start -c
To Reproduce
Steps to reproduce the behavior:
vue-native init vueNativeTest
and use the below simple code
What I expected
Icon to appear
Screenshots
https://imgur.com/a/NWpV89i
Did I use
vue-native-cli
to create the project?Yes
Am I using Expo?
Yes
Development platform (please complete the following information):
The device on which I run my Vue Native app
Expo Client latest version on time of writing
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: