sebinside / StreamAwesome

Stream Awesome - The Stream Deck Icon Generator using Font Awesome
MIT License
45 stars 11 forks source link

Can't find .css files with Font Awesome 6 Free #207

Open DerArkeN opened 1 week ago

DerArkeN commented 1 week ago

Error message: image

[vite] Internal server error: Failed to resolve import "../fonts/fontawesome/css/sharp-light.min.css" from "src/main.ts". Does the file exist?

My guess is that the free version of Font Awesome doesn't provide the necessary files, which causes the import to fail and the app to crash.

Reproduce:

  1. Delete the fonts/fontawesome folder
  2. Download font awesome free for web Download
  3. Paste in the folders as stated in the README
  4. npm run dev
MichaHuhn commented 1 week ago

You can temporarily remove the import lines which are causing this error. Some icons won't load, but the app works again.

DerArkeN commented 1 week ago

208 can fix this