ui icon indicating copy to clipboard operation
ui copied to clipboard

Unrecognized font family 'Rubik-Regular'

Open oliwerhelsen opened this issue 9 years ago • 22 comments

Reffering to issue #95 . Still not working.

oliwerhelsen avatar Feb 01 '17 19:02 oliwerhelsen

Same here

hwkongsgaard avatar Feb 02 '17 19:02 hwkongsgaard

Also the same problem with react native 0.41

hwkongsgaard avatar Feb 03 '17 13:02 hwkongsgaard

Same here

roslaneshellanoo avatar Feb 07 '17 09:02 roslaneshellanoo

@oliwerhelsen @hwkongsgaard @roslaneshellanoo We're currently working on a fix for this issue. We will release a new version of @shoutem/ui hopefully next week with the fix included.

rsekulic1 avatar Feb 08 '17 10:02 rsekulic1

Thanks @rsekulic1 !

oliwerhelsen avatar Feb 08 '17 11:02 oliwerhelsen

@rsekulic1 it's enough to update packages.js with newer versions of linear gradient library and vector icons one

rozenstein94 avatar Feb 10 '17 00:02 rozenstein94

Same problem here.

alland67 avatar Feb 10 '17 01:02 alland67

Having the same issue, hopefully a fix can come quickly! :)

bluetidepro avatar Feb 13 '17 14:02 bluetidepro

Not working for me here. Cannot use this library

Connorelsea avatar Feb 14 '17 21:02 Connorelsea

Thanks to @rozenshtein, I got this to work by running this in the project's root:

npm i -S react-native-vector-icons
npm i -S react-native-linear-gradient
# I don't know if this is necessary but I ran it anyway
react-native link

react-native run-ios

And it loaded with no errors.

mraaroncruz avatar Feb 20 '17 09:02 mraaroncruz

Is this what we're waiting for? #161

benjick avatar Feb 22 '17 12:02 benjick

Thanks @pferdefleisch , this fixed!

yarn add react-native-vector-icons
yarn add react-native-linear-gradient

Or using npm i -S;

csbun avatar Feb 27 '17 11:02 csbun

o/

Still not working out of the box. Maybe adding the dependencies that @csbun and @pferdefleisch mentioned would be a quick fix?

Installing them worked for me, too. I use react-native install, though.

Swizec avatar Mar 04 '17 21:03 Swizec

Hello! ––Really want to use this component library––

I started a couple of projects yesterday, one with CRNA and the normal RN init method.

I've been getting 3-types of errors with @shoutem/ui while working out of the box with Native-Base and RN-Elements.


When I execute yarn add @shoutem/uiand call it from the app, I get:

screen shot 2017-03-15 at 12 47 10 pm

Then I yarn add @expo/vector-icons –to get rid of this error– but i get a new one: (the one described in this issue ticket)

screen shot 2017-03-15 at 2 32 02 pm

I've tried everything in every github thread, including this one, without success. Even tried to import the Fonts with this method without luck. As soon as i import {Font} from exponent, i get this:

img_2274

Thanks for your help! 😄

macOS Sierra 10.12.13 
node v7.7.2
npm 4.4.2
yarn v0.21.3
react-native-cli: 1.3.0
react-native: 0.41.2

juanmnl avatar Mar 15 '17 19:03 juanmnl

Fixed with latest release v0.12.0

SoHotSoup avatar Mar 20 '17 18:03 SoHotSoup

i have v0.12.0 still same issue, Do i need to do this ?

If this is a custom font, be sure to load it with Exponent.Font.loadAsync.

ilarumk avatar Mar 25 '17 12:03 ilarumk

I've found a workaround, where you replace the current component from @shoutem in your code and instead use one of the icon sets from @expo/vector-icons, such as

guofoo avatar Apr 29 '17 00:04 guofoo

This did the issue for me. Hopefully this helps someone. https://github.com/oblador/react-native-vector-icons/issues/461

samueljoli avatar May 06 '17 01:05 samueljoli

fontFamily 'Rubik-Regular' is not a system font and has not been loaded through Expo.Font.loadAsync.

  • If you intended to use a system font, make sure you typed the name correctly andthat it is supported by your device operating system.

  • If this is a custom font, be sure to load it with Expo.Font.loadAsync.

  • node_modules/expo/src/Font.js:34:10 in processFontFamily

  • ... 21 more stack frames from framework internals

wlinglinux avatar Jan 08 '18 06:01 wlinglinux

I try above method, restart the emulator and turn off and on the expo terminal bu no luck using the "@shoutem/ui": "^0.23.4",

get this message on expo : 8:52:36 PM: fontFamily 'Rubik-Regular' is not a system font and has not been loaded through Expo.Font.loadAsync.

  • If you intended to use a system font, make sure you typed the name correctly and that it is supported by your device operating system.

  • If this is a custom font, be sure to load it with Expo.Font.loadAsync.

  • node_modules/expo/src/Font.js:34:10 in processFontFamily

  • node_modules/react-native/Libraries/Renderer/ReactNativeRenderer-dev.js:3372:38 in diffProperties

  • ... 30 more stack frames from framework internals

navotera avatar Jul 03 '18 12:07 navotera