bower / bower

A package manager for the web
bower.io
MIT License
14.96k stars 1.84k forks source link

Bower seems to be completely broken.. help!! #1926

Closed grafikkaos closed 9 years ago

grafikkaos commented 9 years ago

Ben having a few problems with bower the last few days and I hope someone can shed some light on this.

Basically when trying to install packages, I am coming across the following errors:

C:\xampp\htdocs\myapps\testbower
λ bower install animate-sass
bower animate-sass#*        not-cached git://github.com/tgdev/animate-sass.git#*
bower animate-sass#*           resolve git://github.com/tgdev/animate-sass.git#*
bower animate-sass#*      ENORESTARGET Tag/branch master does not exist

Additional error details:
No tags found in git://github.com/tgdev/animate-sass.git
No branches found in git://github.com/tgdev/animate-sass.git

I have done the following to try and clear the problem:

$ bower cache clean
$ npm uninstall bower
$ npm install -g bower
$ rm bower.json
$ bower init

And still getting this same error.

I even went as far as uninstalling npm itself, deleting any traces of bower and npm folders, downloaded the latest version of nodejs, reinstalled npm and bower.

And still getting the same error.

Also ran the following a command to force git to use https: instead of git:

And still no luck... Another thing to note is when I try to install jquery, it just seems to fetch the 1x branch all the time. If i specify the 2.1.4 version to be install, i get the same error as above.

Doing a bower info jquery only also lists the versions in the 1x branch.

λ bower info jquery
bower jquery#*                  cached git://github.com/jquery/jquery.git#1.11.3
bower jquery#*                validate 1.11.3 against git://github.com/jquery/jquery.git#*

{
  name: 'jquery',
  version: '1.11.3',
  main: 'dist/jquery.js',
  license: 'MIT',
  ignore: [
    '**/.*',
    'build',
    'dist/cdn',
    'speed',
    'test',
    '*.md',
    'AUTHORS.txt',
    'Gruntfile.js',
    'package.json'
  ],
  devDependencies: {
    sizzle: '2.1.1-jquery.2.1.2',
    requirejs: '2.1.10',
    qunit: '1.14.0',
    sinon: '1.8.1'
  },
  keywords: [
    'jquery',
    'javascript',
    'library'
  ],
  homepage: 'https://github.com/jquery/jquery'
}

Available versions:
  - 1.11.3
  - 1.11.2
  - 1.11.1
  - 1.11.1-rc2
  - 1.11.1-rc1
  - 1.11.1-beta1
  - 1.11.0
  - 1.11.0-rc1
  - 1.11.0-beta3
  - 1.11.0-beta2
  - 1.11.0-beta1
  - 1.10.2
  - 1.10.1
  - 1.10.0
  - 1.10.0-beta1
  - 1.4.4
  - 1.4.3
  - 1.4.2
  - 1.4.1
  - 1.4.0
  - 1.3.2
  - 1.3.1
  - 1.3.0
  - 1.2.6
  - 1.2.5
  - 1.2.4
  - 1.2.3
  - 1.2.2
  - 1.2.1
  - 1.1.4
  - 1.1.3
  - 1.1.2
  - 1.1.1
  - 1.0.4
  - 1.0.3
  - 1.0.2
  - 1.0.1
You can request info for a specific version with 'bower info jquery#<version>'

Error installing the 2.1.4 version of jquery:

λ bower install jquery#2.1.4
bower jquery#2.1.4          not-cached git://github.com/jquery/jquery.git#2.1.4
bower jquery#2.1.4             resolve git://github.com/jquery/jquery.git#2.1.4
bower jquery#2.1.4        ENORESTARGET No tag found that was able to satisfy 2.1.4

Additional error details:
Available versions: 1.11.3, 1.11.2, 1.11.1, 1.11.1-rc2, 1.11.1-rc1, 1.11.1-beta1, 1.11.0, 1.11.0-rc1, 1.11.0-beta3, 1.11.0-beta2, 1.11.0-beta1, 1.10.2, 1.10.1, 1.10.0, 1.10.0-beta1, 1.4.4, 1.4.3, 1.4.2, 1.4.1, 1.4.0, 1.3.2, 1.3.1, 1.3.0, 1.2.6, 1.2.5, 1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.1.4, 1.1.3, 1.1.2, 1.1.1, 1.0.4, 1.0.3, 1.0.2, 1.0.1

Anyone have any ideas?

Thanks

sheerun commented 9 years ago

It works on my computer.. Do you use some custom resolver? What is your .bowerrc?

grafikkaos commented 9 years ago

Dont have a .bowerrc file in place and I am not using a custom resolver either... So i am pretty stumped..

sheerun commented 9 years ago

What does following return for you?

git ls-remote --tags --heads git://github.com/jquery/jquery.git
grafikkaos commented 9 years ago

Sorry for taking a while to reply.. this is the output of the command:

λ git ls-remote --tags --heads git://github.com/jquery/jquery.git
ff619f3b978304700add92952485a5fb0a8fd80c        refs/heads/1.11-stable
c0fd6a929e59e80b71e451ef611e96d9f22905fc        refs/heads/2.1-stable
81b6e46522d8c680f6c38d5e95c732b2b47130b9        refs/heads/compat
99e8ff1baa7ae341e94bb89c3e84570c7c3ad9ea        refs/heads/master
bcc8a837055fe720579628d758b7034d6b520f2e        refs/tags/1.0
bcc8a837055fe720579628d758b7034d6b520f2e        refs/tags/1.0.1
dbee06de85859af59591813d3004e6695b8bb278        refs/tags/1.0.2
4e3da33c59fafe34e237585743e86e24ba81046e        refs/tags/1.0.3
ed37ca66e5f79b4250f38cbd7a7f809ebfc15a20        refs/tags/1.0.4
73f55becc5e056ad28f6aec22ec014ffb3ab913b        refs/tags/1.0a
2aa67026ebe6bea90fd137fc99b4c9422977e3f0        refs/tags/1.1
2550b1ea6a6eb6ba50d378a5dcfbc8146ca88bff        refs/tags/1.1.1
92973279ea26c415f505d187276460115c668f17        refs/tags/1.1.2
fdd437800d983346c5936abedcf292c2a612b892        refs/tags/1.1.3
f70010b0ad13e3e4d6366287fd79636a9ceca1cd        refs/tags/1.1.3.1
19f5cf0c893aa2ba2ffb00c00c7efc1db4383f3e        refs/tags/1.1.3a
557ec9a92f40f97254e48240825fcb9be5a08e20        refs/tags/1.1.4
2c62b787b2cafb32af14edadc963b8ba3cb847b8        refs/tags/1.10.0
3a8fcde250da0db237396e9ab97fb099eb68c624        refs/tags/1.10.0-beta1
935eb19d87063ec30b717b3d45368d3c73cb591d        refs/tags/1.10.1
16b079b164d62bd807c612806842a13bf9b04d17        refs/tags/1.10.2
91cd1587ed4a1d4f3834227e8eb3cc30cb385409        refs/tags/1.11.0
b44595824c3f23441eab2f34551587c5ae6fd31c        refs/tags/1.11.0-beta1
02cb5be0bb5a49cda3a187d169d89d91874bbf1e        refs/tags/1.11.0-beta2
5bb568cd61cb127ef4ebcc63bb48a37cd5af562d        refs/tags/1.11.0-beta3
5c62f3cd019218e1b401ce2cf4cad644772e387f        refs/tags/1.11.0-rc1
0d5ec2d8ac94a419ee47a39319c43ff9a7326b50        refs/tags/1.11.1
b6c4e50fb8f24dcf7bf38e053e68c4d0e7f059e8        refs/tags/1.11.1-beta1
baa21ff7a91ca165b63a5f900313da14c36fe255        refs/tags/1.11.1-rc1
b50c9a8d92f94f310138f4528e3a36b5336539a1        refs/tags/1.11.1-rc2
9690801db01709bfbff5f977d07fb7cc14472908        refs/tags/1.11.2
1472290917f17af05e98007136096784f9051fab        refs/tags/1.11.3
8bcb016dfaa029a5e98cc3c25b9f999053217f36        refs/tags/1.1a
d1390665b6e7d475d237cafcf8948440c9adfbf8        refs/tags/1.1b
ce256312d518e16a6ee7df5f7f301b8bf9a1caf2        refs/tags/1.2
456da2d4a805012003df3c1b173148368d3536f7        refs/tags/1.2.1
6c81082a6b20880cbd5d35ec5c50d4270f3af2ce        refs/tags/1.2.2
13a5fdb6a1571012c3e065a991fb4eff083057fb        refs/tags/1.2.2b
3f839a69c5682419c921a1a2110289c8941556b0        refs/tags/1.2.2b2
d9a3c4fefaf84db7eba9b1f8204d1e134266b823        refs/tags/1.2.3
32ba00081ddd56c00655d0a7b7825ac947247cc6        refs/tags/1.2.3a
2c07690377522119891784ec11c89e87f0a12545        refs/tags/1.2.3b
2db27efd662693dd90fbf89ea1e4bbee7c9fb929        refs/tags/1.2.4
1ba2865b089fc06242004b7003b4f8dcfd92dc13        refs/tags/1.2.4a
44a6f5d0cb7f1124cd80e9b72d1fff9a46fe4c0b        refs/tags/1.2.4b
456d8a62ccf3244c58ace2b315694ad54cfc05e3        refs/tags/1.2.5
ee931edfea95a0ed49aa4382b5c09cae6f7dafdb        refs/tags/1.2.6
9dc7a3a7d20c0e75b927c956cba8de4dc30db077        refs/tags/1.3
9dc7a3a7d20c0e75b927c956cba8de4dc30db077        refs/tags/1.3.0
6df57d1b82c88ea85d2be081ee8f2362e1c362b7        refs/tags/1.3.1
8b79ea13656727e2449807a812dd0fd8c2783aad        refs/tags/1.3.1rc1
13e9cde0efeadbbc5b3a375ee642bed394dd3a59        refs/tags/1.3.2
df1f656aae019bab1c0e84b41aca26714b4d0d5c        refs/tags/1.3b1
c786f1097ee26095f2f7eb721a450c550775ba84        refs/tags/1.3b2
869afc46cd8229f41d82380f01830dd59a0084f7        refs/tags/1.3rc1
4ce38155a8978c053f0b5938ef3e3f8729381e38        refs/tags/1.4
4ce38155a8978c053f0b5938ef3e3f8729381e38        refs/tags/1.4.0
15d261b9673e153f9e9710da897de62c306afe53        refs/tags/1.4.1
9e4beb5ac258bfc834913c1781891ef49b2deb93        refs/tags/1.4.2
07458abcaf02b5e991223953081bb0dd5240e2c1        refs/tags/1.4.3
66a788ab837fd9b483740ee0b44c1e76f846aadd        refs/tags/1.4.3rc1
3e5520fbdc7231b3f38e145020b40524c1e6654d        refs/tags/1.4.3rc2
9b20df0375f37cc0997bd8ed3d1892a23967d3d5        refs/tags/1.4.4
c22623602ee3c9ff70df9e6f51132931d19bab04        refs/tags/1.4.4rc1
4d7f7453dca8e385cfb02089a8d5b2c47371bba3        refs/tags/1.4.4rc2
50708c070704c607a0ddc51679b93845c8fee5e1        refs/tags/1.4.4rc3
c90a1cb61b41a5686bc3764f144a156e734ed459        refs/tags/1.4a1
f745357baec82e0be59c651f70d1e489f237c398        refs/tags/1.4a2
857d8afd6917775b7cef6fd22e57dd9acec77f01        refs/tags/1.4rc1
675226eea749826a354d07295ff7f7bf0b613f28        refs/tags/1.5
675226eea749826a354d07295ff7f7bf0b613f28        refs/tags/1.5.0
916e094290202ce8017d6d6e000b444817b7cfa0        refs/tags/1.5.1
13e11987545a67f9b4dabbe839c89b3f63c982a5        refs/tags/1.5.1rc1
dbce0ce6445a930a73a141ea0ec5193a4f8f1231        refs/tags/1.5.2
2d80710ab00a4f3e8420b315ce5e5137d562afda        refs/tags/1.5.2rc1
bcdd4f817378d5c6c95646ef556e0ff4215bcb5f        refs/tags/1.5b1
9d306bd73bb47562cd52f0fc4cc158c534cfdfdf        refs/tags/1.5rc1
c2c017bc1527d350bbd80ea27976d9db71a2f591        refs/tags/1.6
c2c017bc1527d350bbd80ea27976d9db71a2f591        refs/tags/1.6.0
8c1ea08ae01a676ea442d5e880ac7b01bed1434b        refs/tags/1.6.1
344af56868642b551de944a534493e6a72dd4776        refs/tags/1.6.1rc1
0bf007679f10e34104d4657a35c3d13057eaab8f        refs/tags/1.6.2
d443e533aa83e89e6a1b02280dfc77f741cb4db6        refs/tags/1.6.2rc1
03bc3023a6bcc9db10bb522a10149d41a9071be6        refs/tags/1.6.3
2fc6205fc7b9a6cfa0dd85f5ba24bc0953366e82        refs/tags/1.6.3rc1
2888caeba9ea9bbd3f9a5c97c2af6e89319a6329        refs/tags/1.6.4
215d096310663e2df302e0b13e82216a3ddde920        refs/tags/1.6.4rc1
19ceebd0f4817ddb2b6593d172e36e96d384aabb        refs/tags/1.6b1
455edf197add9a9ea21ac7cf4266784a083c74ef        refs/tags/1.6rc1
5876377b700b1bd26390a0a6d81e978dd822af14        refs/tags/1.7
5876377b700b1bd26390a0a6d81e978dd822af14        refs/tags/1.7.0
84dd5fbd2fd29e8fd174d0fd074ac87eaa15c084        refs/tags/1.7.1
8485e420dfcb0bba67d3e437b3f3722a9c90165b        refs/tags/1.7.1rc1
17eeebb3c04c72e5d00520c191cce858844aedec        refs/tags/1.7.2
7a463c08139ce195883da6e8e847957de04b2bb9        refs/tags/1.7.2b1
968e750673e9d1e16dfd4963e4fc934be488bdb0        refs/tags/1.7.2rc1
9a51bc648f303a1c308b0de3ea31f2e9b4304135        refs/tags/1.7b1
787ef720abc10ee8d3b29c4b83d1bfbc9ac37ad8        refs/tags/1.7b2
8e64b937eae1cadcfc088cc5ab6e2ef278435a5f        refs/tags/1.7rc1
cae1b6174917df3b4db661f20ef4745dd6e7f305        refs/tags/1.7rc2
a0a3e5ee7f8025a498ba6daf26c2823518e96b2e        refs/tags/1.8.0
adc1841f8032c33c647d061815d4455d968baa2d        refs/tags/1.8.1
9e6393b0bcb52b15313f88141d0bd7dd54227426        refs/tags/1.8.2
869704ba067c9b444bb052140581a426a45baaf5        refs/tags/1.8.3
e7136682e89f358915994f4a2167fcdea395358e        refs/tags/1.8.3+1
2236c55b9135dc9867218cc35b713bacdd0a8350        refs/tags/1.8b1
a7df439e24e9b087a540ef7c658e5fec65d538c8        refs/tags/1.8b2
e02e61ca87e58beb8a05708b686bca74e54a07dd        refs/tags/1.8rc1
6361fdf2f30e41f565a953eb120f795774c65c4e        refs/tags/1.9.0
d2262fbd9b26d9ac53b88a7f4eea246f7bac1776        refs/tags/1.9.0b1
11eb1c4e4844650fde794e08d149a09a359e2cda        refs/tags/1.9.0rc1
d71f6a53927ad02d728503385d15539b73d21ac8        refs/tags/1.9.1
a55c5eeb709b584f58a1f3d8d0bc9f1432cd998a        refs/tags/2.0.0
baa50b5e1709dc66354c647e14ac819338cdf5b9        refs/tags/2.0.0-beta3
2cc06af007ad2f85b52ee757296d235fcf93337a        refs/tags/2.0.0b1
4cbc235c0d6c9ef5e11c4fc243275e38e9044cb4        refs/tags/2.0.0b2
873bfd84860f946ddca86d4ac87e422abf19ec1d        refs/tags/2.0.1
617d181a45cff58586888550955a9c7fe2eb8b41        refs/tags/2.0.2
f852e631ba85af7da4ad7594785e122504e7b233        refs/tags/2.0.3
9434e03193c45d51bbd063a0edd1a07a6178d33f        refs/tags/2.1.0
1185427c4c35ea57e3634ca735422e23d2e55751        refs/tags/2.1.0-beta1
adf904ccfaf3b34134ac2bbcec0db83e43d43be8        refs/tags/2.1.0-beta2
dfb03b41baa583ec79bd28c110278ce0268b4704        refs/tags/2.1.0-beta3
dea4e5fc6c47a27865de65ec6feef3429dbf13b9        refs/tags/2.1.0-rc1
4dec426aa2a6cbabb1b064319ba7c272d594a688        refs/tags/2.1.1
130f395eb8906e16db8506571f125a6beb28327a        refs/tags/2.1.1-beta1
6ba4c8def1f9b0d03c5e8de1d64a78ae36646fb6        refs/tags/2.1.1-rc1
c2fdcaaacd4d7f8479b2196525330c1738e30cd3        refs/tags/2.1.1-rc2
a04f5ff9795fd6292117563623db44cf3f875868        refs/tags/2.1.2
8f2a9d9272d6ed7f32d3a484740ab342c02541e0        refs/tags/2.1.3
7751e69b615c6eca6f783a81e292a55725af6b85        refs/tags/2.1.4
f9846aec1dadc4bc80ca2df47d3ecc1b9f7a4f84        refs/tags/3.0.0-alpha1
ef64d82ec3d1717478979cba986d896aa0dda617        refs/tags/3.0.0-alpha1+compat
sheerun commented 9 years ago

Well, it correctly lists all versions.. No idea what is going on, I'm sorry but you are on your own with debugging this ;/

sheerun commented 9 years ago

@grafikkaos Maybe it's an issue with your terminal simulator. Please look at #852