Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Bower crashes with 1.2.6 #5413

Closed
gryphon opened this issue Dec 15, 2013 · 7 comments
Closed

Bower crashes with 1.2.6 #5413

gryphon opened this issue Dec 15, 2013 · 7 comments

Comments

@gryphon
Copy link

gryphon commented Dec 15, 2013

Getting the following error even if I request 1.2.5 (some dependencies seems to include angular >1.0.8 or so): "angular invalid version: 1.2.6-build.1989+sha.b0474cb"

It seems that bower version is broken in the latest angular-bower package releases.

Bower version is 1.2.8
OS: Ubuntu

Package:

{
  "name": "app",
  "dependencies": {
    "angular": "1.2.5",
    "angular-animate": "1.2.4",
    "angular-resource": "1.2.4",
    "angular-ui-router": "0.2.7",
    "angular-ui-sortable": "*",
    "angular-i18n": "1.2.5",
    "angular-sanitize": "1.2.4",
    "underscore": "*",
    "restangular": "*",
    "jquery": "~>2.0.3",
    "jquery-file-upload": "~>8.3.0",
    "blueimp-load-image": "*",
    "blueimp-canvas-to-blob": "*",
    "angular-translate": "1.1.1",
    "angular-translate-loader-static-files": "*",
    "angular-translate-interpolation-messageformat": "*",
    "hallo": "*",
    "jquery-htmlclean": "*",
    "angular-promise-tracker": "1.4.0",
    "typeahead.js": "*",
    "bootstrap-select": "*"
  },
  "resolutions": {
    "angular": "1.2.5",
    "jquery": "~>2.0.3"
  }
}
@gryphon
Copy link
Author

gryphon commented Dec 15, 2013

Sorry, it was an issue of bower from circleci. Please close.

@gryphon gryphon closed this as completed Dec 15, 2013
@MioGreen
Copy link

Hello, but how were you fix that problem?

@gryphon
Copy link
Author

gryphon commented Dec 15, 2013

Just add line
npm update -g bower
as dependency to be executed before running tests.

@renan
Copy link

renan commented Dec 19, 2013

What if I don't have bower installed globally?

I have the latest node, npm and bower. Still, it happens.

@cesarandreu
Copy link

Having this same issue. Tried updating, tried re-installing, still failing :(.

@gryphon
Copy link
Author

gryphon commented Dec 19, 2013

Seems to be not a good idea to have commit hash as bower version but newer bower versions play well with this issue. Make sure if you have bower installed globally.

@cesarandreu
Copy link

These two issues seem to be relevant:

#5459

bower/bower#1017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants