Swiip / generator-gulp-angular

Yeoman generator for AngularJS with GulpJS [UNMAINTAINED next iteration is FountainJS]
http://fountainjs.io
3.72k stars 665 forks source link

bootstrap glyphicon font paths broken on build #903

Open adamkarb opened 9 years ago

adamkarb commented 9 years ago

I know this is a question I've seen people ask about, but I'm using the latest generator and can't figure out the issue. This is the error I'm getting. I am using bootstrap-sass-official in this project, and haven't altered any of the code that comes with the project in regards to font-paths and gulp tasks. Any advice or referenced issues appreciated :)

image

Swiip commented 9 years ago

Here's the theoretical mechanism, try check what's going wrong:

karolrynio commented 8 years ago

I have the same bug. Bug is probably in invalid configuration or paths, because generated url to fonts is:

http://localhost:3000/bower_components/bower_components/bootstrap/fonts/glyphicons-halflings-regular.woff2

but should be:

http://localhost:3000/bower_components/bootstrap/fonts/glyphicons-halflings-regular.woff2

bower_components part is twice in path.