question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ng 1.7.0-rc.0 can't parse fontawesome fonts

See original GitHub issue

Versions

_                      _                 ____ _     ___
/ \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
/ ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
/_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
|___/

Angular CLI: 1.7.0-rc.0
Node: 8.9.1
OS: win32 x64
Angular: 5.2.4
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cli: 1.7.0-rc.0
@angular-devkit/build-optimizer: 0.3.1
@angular-devkit/core: 0.3.1
@angular-devkit/schematics: 0.3.1
@ngtools/json-schema: 1.2.0
@ngtools/webpack: 1.10.0-rc.0
@schematics/angular: 0.3.1
@schematics/package-update: 0.3.1
typescript: 2.5.3
webpack: 3.10.0

Repro steps

  • ng serve

Observed behavior

Browser console log

Failed to decode downloaded font: http://localhost:4200/fontawesome-webfont.68560c510686599ffbc9.woff2?v=4.7.0
localhost/:1 OTS parsing error: Failed to convert WOFF 2.0 font to SFNT
localhost/:1 Failed to decode downloaded font: http://localhost:4200/fontawesome-webfont.a7bbeb589ae63e018872.woff?v=4.7.0
localhost/:1 OTS parsing error: incorrect file size in WOFF header
localhost/:1 Failed to decode downloaded font: http://localhost:4200/fontawesome-webfont.e1dd9adb4f69bb9a0bdc.ttf?v=4.7.0
localhost/:1 OTS parsing error: incorrect entrySelector for table directory
localhost/:1 Failed to decode downloaded font: http://localhost:4200/fontawesome-webfont.912ec66d7572ff821749.svg?v=4.7.0#fontawesomeregular
localhost/:1 OTS parsing error: invalid version tag

no fontawesome icons in UI

Desired behavior

I expect to see fontawesome icons as usual

Mention any other details that might be useful (optional)

with v1.6.8 works

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:16
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

10reactions
nikolayandrcommented, Feb 9, 2018

@clydin Hi. Is it known when the next RC is going to be available? Thanks

3reactions
clydincommented, Feb 8, 2018

Thank you for reporting. A fix is pending and will be available in the next RC.

Read more comments on GitHub >

github_iconTop Results From Across the Web

1.7.0 fonts are corrupted after prod build · Issue #9648 - GitHub
ng serve is fine for me, the error occurs when I run ng build --prod and use nginx or apache to serve the...
Read more >
Can't load font-awesome with Webpack - Stack Overflow
To properly load font-awesome fonts, you need to configure loaders in your webpack.config.js to use url-loader and file-loader. Example:
Read more >
Troubleshooting | Font Awesome Docs
The first thing to do is to double-check a few things: Is the icon you're trying to use available in the version of...
Read more >
Font Awesome Icons
The complete set of 675 icons in Font Awesome 4.7.0. You asked, Font Awesome delivers with 41 shiny new icons in version 4.7....
Read more >
Methods | Font Awesome Docs
The parse.icon() method also normalizes our styles and icon names. For example, you can reference our solid icons with with a prefix of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found