GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Version 4.0.1 stable, boostrap glyphicons don't seem to work · Issue #2188 · angular-fullstack/generator-angular-fullstack

This repository was archived by the owner on Jul 29, 2026. It is now read-only.
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

Version 4.0.1 stable, boostrap glyphicons don't seem to work #2188

Copy link
Copy link
Closed
#2432
Closed
Version 4.0.1 stable, boostrap glyphicons don't seem to work#2188
#2432
Copy link
Labels
buginvestigate

Description

@marius-avram
marius-avram
opened on Aug 30, 2016
Issue body actions
  • I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests.
Item Version
generator-angular-fullstack 4.0.1
Node 4.2.6
npm 3.5.2
Operating System Ubuntu 16.04 LTS
etc etc
Item Answer
Transpiler Babel
Markup HTML
CSS CSS
Router ui-router
Client Tests Mocha
DB MongoDB
Auth Y

After I run npm install, and gulp serve the glypicons don't seem to work. They are just missing/square characters. I tried both in chrome and firefox.

If I access the font files from the browser like this they get downloaded:

localhost:3000/assets/fonts/bootstrap/glyphicons-halflings-regular.svg

However I don't understand why they are not showing up correctly in the browser.

Activity

  1. Awk34 commented on Aug 30, 2016

    @Awk34
    Awk34
    on Aug 30, 2016
    Collaborator
    More actions

    getting any errors?

  2. marius-avram commented on Aug 31, 2016

    @marius-avram
    marius-avram
    on Aug 31, 2016
    Author
    More actions

    I get some errors when i'm starting the apps from gulp. I don't know if they are of any relevance.

    [11:13:27] Starting 'serve'...
    [11:13:27] Starting 'clean:tmp'...
    [11:13:27] Starting 'lint:scripts'...
    [11:13:27] Starting 'lint:scripts:client'...
    [11:13:27] Starting 'lint:scripts:server'...
    [11:13:27] Starting 'inject'...
    [11:13:27] Starting 'inject:css'...
    [11:13:27] Starting 'copy:fonts:dev'...
    [11:13:27] Starting 'env:all'...
    [11:13:27] Finished 'env:all' after 149 ms
    [11:13:27] Finished 'clean:tmp' after 532 ms
    [11:13:31] gulp-inject 5 files into app.css.
    [11:13:31] Finished 'inject:css' after 3.97 s
    [11:13:31] Finished 'inject' after 3.97 s
    [11:13:34] Finished 'copy:fonts:dev' after 7.02 s
    [11:13:35] 
    ~/server/app.js
      16:17  warning  Unexpected string concatenation                                                                                prefer-template
    ...
    ✖ 92 problems (68 errors, 24 warnings)
    
    [11:13:35] Finished 'lint:scripts:client' after 8.56 s
    [11:13:35] Finished 'lint:scripts' after 8.56 s
    [11:13:35] Starting 'start:server'...
    [11:13:35] Finished 'start:server' after 17 ms
    [11:13:35] Starting 'start:client'...
    [nodemon] 1.10.2
    

    I don't get any errors in the browser console however.

  3. marius-avram commented on Aug 31, 2016

    @marius-avram
    marius-avram
    on Aug 31, 2016
    Author
    More actions

    I found this ubuntu issue however:

    http://askubuntu.com/questions/804639/font-viewer-not-running-in-ubuntu-16-04

    Do you think this might be the cause of the problem ?

  4. Awk34 commented on Aug 31, 2016

    @Awk34
    Awk34
    on Aug 31, 2016
    Collaborator
    More actions

    @marius-avram that does not look related

  5. Awk34 commented on Aug 31, 2016

    @Awk34
    Awk34
    on Aug 31, 2016
    Collaborator
    More actions

    @marius-avram if you look in the network tab of your browser tools, do you see the font files getting loaded?

  6. DanielClausen commented on Sep 5, 2016

    @DanielClausen
    DanielClausen
    on Sep 5, 2016
    More actions

    I'm having this same issue, but I'm running on Windows not Ubuntu. None of the custom fonts are being loaded, neither bootstrap, font-awesome, or my custom fonts. There is no font files in the network tab on Chrome. I've checked the outputted app.css file and it has the font-face nodes. I'm not seeing any errors related to fonts it just seems like the browser isn't even attempting to load the fonts even though they are defined in the CSS.

  7. chandruk4321 commented on Sep 22, 2016

    @chandruk4321
    chandruk4321
    on Sep 22, 2016
    More actions

    +1

  8. joelvictoraluiz commented on Oct 4, 2016

    @joelvictoraluiz
    joelvictoraluiz
    on Oct 4, 2016
    More actions

    +1 on windows

  9. Awk34
    added
    investigate
    on Oct 4, 2016
  10. mfsjr commented on Dec 14, 2016

    @mfsjr
    mfsjr
    on Dec 14, 2016
    More actions

    Getting the same with 4.1.0, just noting a few additional observations:

    1. Glyphs are missing with Chrome and Firefox but not Safari
    2. gulp builds, i.e., running the /dist build from the command line doesn't have the problem
    3. Creating the project with SCSS instead of CSS doesn't exhibit the problem
  11. Awk34
    added
    bug
    on Dec 14, 2016
  12. zaphinath commented on Dec 18, 2016

    @zaphinath
    zaphinath
    on Dec 18, 2016
    More actions

    +1 OSX. Using CSS and not SCSS

  13. duoli commented on Dec 28, 2016

    @duoli
    duoli
    on Dec 28, 2016
    More actions

    +1 on Ubuntu with chrome.

  14. duoli commented on Dec 28, 2016

    @duoli
    duoli
    on Dec 28, 2016
    More actions

    to be clarified, with 'glyphicon glyphicon-home', I get the following icon instead.
    angular full stack generator

    It seems all the glyphicons are shifted to a different one.

    generator-angular-fullstack 4.0.1
    Node ^6.2.2
    npm ^3.9.5
    bootstrap: ~3.1.1
    Operating System Ubuntu 16.04 LTS
    etc etc

  15. Awk34 commented on Dec 28, 2016

    @Awk34
    Awk34
    on Dec 28, 2016
    Collaborator
    More actions

    Try using this for the font in app.css:

    /**
     *Font Awesome Fonts
     */
    
    @font-face {
      font-family: 'FontAwesome';
      src: url('~font-awesome/fonts/fontawesome-webfont.eot?v=4.1.0');
      src: url('~font-awesome/fonts/fontawesome-webfont.eot?#iefix&v=4.1.0') format('embedded-opentype'),
      url('~font-awesome/fonts/fontawesome-webfont.woff?v=4.1.0') format('woff'),
      url('~font-awesome/fonts/fontawesome-webfont.ttf?v=4.1.0') format('truetype'),
      url('~font-awesome/fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular') format('svg');
      font-weight: normal;
      font-style: normal;
    }

    Scratch that, I've tested an actual solution

  16. mfsjr commented on Dec 28, 2016

    @mfsjr
    mfsjr
    on Dec 28, 2016
    More actions

    Sorry, but replacing the font in app.css described above did not fix my issue with 4.1.0 on OSX with Chrome and Firefox.

  17. Awk34 commented on Dec 28, 2016

    @Awk34
    Awk34
    on Dec 28, 2016
    Collaborator
    More actions

    Instead, try changing this line in webpack.make.js:

    ? ExtractTextPlugin.extract('style', 'css?sourceMap!postcss')

    to this:

    ? ExtractTextPlugin.extract('style', 'css!postcss')
  18. Awk34
    added a commit that references this issue on Dec 28, 2016

    fix(webpack:css): disable css-loader sourceMap option

    This issue will close once commit d48f0b0 is merged into the 'master' branch.
    d48f0b0
  19. Awk34
    closed this as completedin #2432on Dec 28, 2016
  20. mfsjr commented on Dec 29, 2016

    @mfsjr
    mfsjr
    on Dec 29, 2016
    More actions

    Appears that webpack.make.js change above fixed it - thanks!

  21. abbas133 commented on Jan 1, 2017

    @abbas133
    abbas133
    on Jan 1, 2017
    More actions

    +1 for the fix

  22. MichaelJCole commented on May 15, 2017

    @MichaelJCole
    MichaelJCole
    on May 15, 2017
    More actions

    Hey, if you're getting this with: npm start, it seems to be designed to work after gulp build. If you want to run a development server, use gulp serve

    Reacted by Pi Home Server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buginvestigate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.