Expo.io Custom Font Installation Error

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

it looks like you spelled assets as assers

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

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

1 Like

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

1 Like