2017-04-25 6 views
0

J'essaye d'installer angular-material-data-table en utilisant le bower. Quand je cours bower info dessus, j'obtiens 0.10.9 et 0.10.10 comme versions. Mais quand j'essaye d'installer ces versions spécifiques, il donne l'erreur ENORESTARGET. Je pensais que c'était un problème de cache, donc j'ai essayé d'utiliser l'option --force aussi. J'ai même essayé d'installer sans mentionner de version spécifique pour obtenir la même erreur. Est-ce que j'ai râté quelque chose?Impossible de faire l'installation de bower

Voici le bower info et bower install sortie de commande -

$ bower info angular-material-data-table 
bower cached  https://github.com/daniel-nagy/md-data-table.git#0.10.10 
bower validate  0.10.10 against https://github.com/daniel-nagy/md-data-table.git#* 

{ 
    name: 'angular-material-data-table', 
    version: '0.10.10', 
    description: 'Material Design data table.', 
    main: [ 
    'dist/md-data-table.js', 
    'dist/md-data-table.css' 
    ], 
    repository: { 
    type: 'git', 
    url: 'git://github.com/daniel-nagy/md-data-table.git' 
    }, 
    authors: [ 
    'Daniel Nagy' 
    ], 
    homepage: 'http://danielnagy.me/md-data-table', 
    license: 'MIT', 
    keywords: [ 
    'material', 
    'table', 
    'md-data-table' 
    ], 
    ignore: [ 
    '**/.*', 
    'app', 
    'bower_components', 
    'node_modules', 
    'src', 
    'Gruntfile.js' 
    ], 
    dependencies: { 
    angular: '^1.4.0', 
    'angular-material': '^1.0.0' 
    } 
} 

Available versions: 
    - 0.10.10 
    - 0.10.9 
    - 0.10.8 
    - 0.10.7 
    - 0.10.6 
    - 0.10.5 
    - 0.10.4 
    - 0.10.3 
    - 0.10.2 
    - 0.10.1 
    - 0.10.0 
    - 0.9.15 
    - 0.9.14 
    - 0.9.13 
    - 0.9.12 
    - 0.9.11 
    - 0.9.10 
    - 0.9.9 
    - 0.9.8 
    - 0.9.7 
    - 0.9.6 
    - 0.9.5 
    - 0.9.4 
    - 0.9.3 
    - 0.9.2 
    - 0.9.1 
    - 0.9.0 
    - 0.8.14 
    - 0.8.13 
    - 0.8.12 
    - 0.8.11 
    - 0.8.10 
    - 0.8.9 
    - 0.8.8 
    - 0.8.7 
    - 0.8.6 
    - 0.8.5 
    - 0.8.4 
    - 0.8.3 
    - 0.8.2 
    - 0.8.1 
    - 0.8.0 
    - 0.7.6 

You can request info for a specific version with 'bower info angular-material-data-table#<version>' 



$ bower install --save-exact angular-material-data-table#0.10.9 
bower not-cached https://github.com/russellmorley/angular-sig-pad.git#undefined 
bower resolve  https://github.com/russellmorley/angular-sig-pad.git#undefined 
bower cached  https://github.com/daniel-nagy/md-data-table.git#0.10.9 
bower validate  0.10.9 against https://github.com/daniel-nagy/md-data-table.git#0.10.9 
bower ENORESTARGET Tag/branch undefined does not exist 

Additional error details: 
Available tags: v0.1.0 
Available branches: master 
$ 
+0

Pourquoi utilisez-vous la tondeuse? –

Répondre

0

Je recevais l'erreur en raison d'avoir une dépendance différente dans ma bower.json branche ayant défini comme non défini

"angular-sig-pad": "https://github.com/russellmorley/angular-sig-pad.git#undefined" 

Il était pas le problème de la table de données-matériau-angulaire. Je devrais mieux vérifier mon bower.json la prochaine fois, avant de poster une question ici.