angular-truncate icon indicating copy to clipboard operation
angular-truncate copied to clipboard

Problem with bower install

Open vostrik opened this issue 9 years ago • 3 comments

You`ve wrote angular 1.2 version in dependencies. It conflicts with modern projects (angular v. 1.4.8 for me).

vostrik avatar Dec 11 '15 09:12 vostrik

@vostrik, it references "0.1.2" in package.json... download it manually and it will work fine.

https://github.com/sparkalow/angular-truncate/blob/master/package.json

johnjspiteri avatar Jan 28 '16 21:01 johnjspiteri

@johnjspiteri package.json is for npm :) @vostrik was talking about bower and he's right.

if you look at https://github.com/sparkalow/angular-truncate/blob/master/bower.json you'll see this:

{
  "name": "angular-truncate",
  "version": "0.1.2",
  "main": ["./src/truncate.js"],
  "dependencies": {
    "angular": "~1.2.0"
  }
} 

This angular-truncate wants angular 1.2.0 or similar, which conflicts with greater versions (1.3 or 1.4...)

NKjoep avatar Jul 13 '16 13:07 NKjoep