Vector icons not loading when deployed to cloudflare pages

What is the name of the domain?

https://www.wavechicken.com/surf-forecast/jeffreys_bay_(j-bay)/cYhWkC24p9zAIYjJebDy

What is the error message?

Failed to decode downloaded font: … /assets/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/MaterialCommunityIcons.b62641afc9ab487008e996a5c5865e56.ttf?platform=web&hash=b62641afc9ab487008e996a5c5865e56 and OTS parsing error: invalid sfntVersion: 1008813135

What is the issue you’re encountering

Vector icons from the Material community icons don’t load when deployed to cloudflare pages. See screenshots. They worked testing when deployed to netlify.

What are the steps to reproduce the issue?

Visit and see the cons Wave Chicken

Open console and see errors OTS parsing error: invalid sfntVersion: 1008813135 & Failed to decode downloaded font: … /assets/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/MaterialCommunityIcons.b62641afc9ab4 …

For reference when deployed to netlify no issues Wave Chicken

This topic was automatically closed after 15 days. New replies are no longer allowed.