Open vostrik opened 8 years ago
@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 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
...)
@vostrik you can use this version where you don't have the 1.2 restriction.
You`ve wrote angular 1.2 version in dependencies. It conflicts with modern projects (angular v. 1.4.8 for me).