Open ufoscout opened 8 years ago
I have the same error. Are you fix it?
browser expects font files at locations with doubled "bower_components" in path, e.g. at
i do not have any solution at the moment.
Hi, i changed @icon-font-path: '../../bower_components/bootstrap/fonts/';
to @icon-font-path: '../../bootstrap/fonts/';
in index.less
file and works fine. It is not solving main problem of course.
any solution buddies?
$icon-font-path: "./../bootstrap-sass/assets/fonts/bootstrap/"; change above path to below working fine $icon-font-path: "/bower_components/bootstrap-sass/assets/fonts/bootstrap/";
open build.js .pipe($.replace('../../bower_components/bootstrap-sass/assets/fonts/bootstrap/', '../fonts/')) i thing change to .pipe($.replace('/bower_components/bootstrap-sass/assets/fonts/bootstrap/', '../fonts/'))
shersial's solution works for me.
Hi all,
we created a new project from scratch using generator-gulp-angular 1.1.0. When the application is started using "gulp serve", the browser throws a "404 not found error" for these resources: http://localhost:3000/fonts/bootstrap/glyphicons-halflings-regular.woff2 http://localhost:3000/fonts/bootstrap/glyphicons-halflings-regular.woff http://localhost:3000/fonts/bootstrap/glyphicons-halflings-regular.ttf
The same error appear with:
In fact, in the "dist" folder, the missing files are not in the "dist/fonts/bootstrap" subfolder but in the "dist/fonts". If we manually copy the files from "dist/fonts" to "dist/fonts/bootstrap" the issue disappear.
We use typescript, sass, ui-bootstrap, no html template engines, node 5.10.1, npm 3.8.3, Ubuntu 16.04.