Glyphicons not working in production
See original GitHub issueThe fonts in my electron react boilerplate app arent working when running npm run start. I am getting a
ERR_FILE_NOT_FOUND in the console on the .ttf, .woff, .woff2 files… I am new to webpack and havent been able to figure it out… maybe someone with some time could help me figure this out. Thanks.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Rails: Bootstrap glyphicons not loading in production
After upgrading to Rails 5, the Bootstrap glyphicon icons are not loading properly on heroku. For instance, the Trashcan icon is showing up...
Read more >Glyphicons are not working in production · Issue #62 - GitHub
In development they are working fine but in production they look like squares. Am I doing something wrong here?
Read more >Glyphicons of bootstrap not showing up after published site to ...
Firstly, remove the "~/fonts/glyphicons-*" line from your bundle config. This will try to render the raw bytes of the font files as CSS, ......
Read more >SOLVED-Bootstrap 3 Glyphicons are not working
In my project everything works fine. But when I tried to add some icons, the icon font doesn't displayed the icon properly.
Read more >Regular license - Glyphicons
For example as prints of t-shirts, mugs, posters or any other product which have a character of repeated production. It is not allowed...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I was able to fix it by changing
to
I noticed it was looking for the files in
app/dist/dist...I had the same problem in production when using a global scss file. See my comment here for the resolution: https://github.com/electron-react-boilerplate/electron-react-boilerplate/issues/1426#issuecomment-458824975