StreamAwesome icon indicating copy to clipboard operation
StreamAwesome copied to clipboard

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

Open z1glr opened this issue 4 months ago • 0 comments

I'm (still) experiencing a similar problem as in https://github.com/sebinside/StreamAwesome/issues/207

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

Somehow the checks implemented by https://github.com/sebinside/StreamAwesome/pull/208 don't seem to work. I tried changing the fontAwesomeVersionInfo object in model/versions.ts to

fontAwesomeVersionInfo = {
  fontFamilyBase: 'Font Awesome 6',
  fontVersion: '6.6.0',
  fontLicense: 'Free'
}

but this doesn't help either. Replacing the if-statement in main.ts with

...
if (false) {
...

does work however.

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

z1glr avatar Sep 29 '24 12:09 z1glr