dimaportenko / react-native-liquid-gauge

Unveiling the React Native Liquid Gauge, a charming and highly customizable UI component engineered to represent progress in a visually intuitive manner. This library is built on top of react-native-skia, ensuring smooth rendering and high performance across different platforms while making it easier to integrate within your React Native projects.
MIT License
18 stars 3 forks source link

Fetching unknown Font #1

Closed DemonMartin closed 7 months ago

DemonMartin commented 8 months ago

Seems like the module tries to fetch a font which isn't correctly defined in module.

Error: ⨯ ./node_modules/react-native-liquid-gauge/lib/module/LiquidGauge.js:102:23 Module not found: Can't resolve '../assets/fonts/Roboto-Bold.ttf'

dimaportenko commented 8 months ago

I believe I tested it. So can you share more details?

  1. What kind of RN project have you tried Expo Go, Expo Bare Flow, React Native CLI?
  2. How did you install package?
DemonMartin commented 8 months ago
  1. My project was made using the Next.js Framework.
  2. Using NPM :)
dimaportenko commented 8 months ago

This library was made for React Native (mainly mobile applications). If you have web project you can use following https://gist.github.com/brattonc/5e5ce9beee483220e2f6