Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #11296
Closed
Open
Issue created Oct 30, 2013 by Administrator@rootContributor

Problem installing 'main' files with bower

Created by: ghelton

I'm receiving the following message when using grunt-bower-task or bower-installer to grab the main files from the repository:

no such file or directory 'bower_components/bootstrap/dist/fonts/*'

The folder is there, and the build tools dont seem to recognize the wildcard. Is this a problem for anyone else, or is could it be a problem with my installation? Any info is appreciated.

My Gruntfile looks like so:

module.exports = function(grunt) {

    grunt.initConfig({
        bower: {
            install: {
                options: {
                    targetDir: './bower',
                    layout: 'byType',
                    install: true,
                    verbose: true,
                    cleanTargetDir: true,
                    cleanBowerDir: true
                }
            }
        }
    });

    grunt.loadNpmTasks('grunt-bower-task');

    // Default task(s).
    grunt.registerTask('default', ['bower']);

};

The commit that added the wildcard is here: https://github.com/twbs/bootstrap/commit/56f1ff6ca7f4bee5f031f82b7b6191f7a7a61f48#diff-0a08a7565aba4405282251491979bb6b

Assignee
Assign to
Time tracking