Expo.io Custom Font Installation Error

#1

Hi,

Just wanted to see if anyone has successfully installed custom fonts with expo?
I have installed Avenir font type to use in Android via expo custom font installation guide and error I get is:

  • Unable to resolve module ‘./assets/fonts/AvenirLTStd-Book.otf’ from ‘C:/rn/customfont/App.js’" could not resolve… it did not contain a package, nor an index file.

Any assistance would be greatly appreciated.

Thanks.

P

#2

it looks like you spelled assets as assers

#3

sorry brent was a typo in the forum text not in the assets folder. Thank you.

#4

can you upload your project to github? assets/fonts of course work as expected so this is an error in your code

1 Like
#6

All good Brent,
After installing the expo update manager and re-writing code the custom fonts work.
Cheers.

1 Like
closed #7