When I try install the release(#1.5.2 or 1.5.0) of jsPDF, the bower doens't found some libs
"cf-blob.js": "0.0.1",
"omggif": "1.0.7",
These two libs doens't have in Bower.
The last version that Bower(jsPDF) works is 1.4.1, because this version doesn't depends of these two libs.
With yarn, the installation works normally :)
I have the same issue 馃槩
Is in bower possible to link to the github repo like in npm with package.json?
@Luis-Palacios
Dont cry :). I expected some problems in the projects after so many changes in jspdf. I plan to fix all the errors in 2-3 weeks and do a release.
changed bower.json with #2186
It's still not working @arasabbasi .
I use https://github.com/simonbengtsson/jsPDF-AutoTable, it's calling to jsPDF, there is some bug that in bower.json still has cf-blob.js#0.0.1
And please take a look at
bower omggif#1.0.7 ENOTFOUND Package omggif not found
My old version is working fine is 1.4.1.
Thanks.
@namnh06
Well I am sure, that you are aware of the fact, that it needs a new release, till the changes are getting in effect.
@namnh06
@Luis-Palacios
@willianbriotto
Version 1.5.3 got released and fixes the issue.
Thanks a lot @arasabbasi I'll do a test run and let you know my findings
@arasabbasi
I thought it's still not working bro.
bower canvg#1.5.3 ENORESTARGET No tag found that was able to satisfy 1.5.3
Additional error details:
Available versions in https://github.com/shprink/canvg.git: 1.3.0
Please take a look at canvg#1.5.3
Thanks.
@namnh06
I will simply remove canvg as dependency in bower, because canvg is created by @gabelerner and the official canvg repo is https://github.com/canvg/canvg and not shprink/canvg.
So actually bower is supplying the wrong repo.
i am only publishing canvg to npm for node and jsdelivr for browser at the moment. if you would like an official publish to something else, please let me know via https://github.com/canvg/canvg/issues
@arasabbasi do you plan to publish a new version soon? (same issue than @namnh06 with bower)
@arasabbasi
I thought it's still not working bro.
bower canvg#1.5.3 ENORESTARGET No tag found that was able to satisfy 1.5.3
Additional error details: Available versions in https://github.com/shprink/canvg.git: 1.3.0
Please take a look atcanvg#1.5.3
Thanks.
@arasabbasi
Same problem here. It's currently breaking my build. Is there a work around for this?
I don't use actively Bower. Can you research for an option like resolutions in your local bower.json?
Indeed, I found out bower's registry still points canvg to the old repo.

Can you guys please try:
bower install https://github.com/canvg/canvg.git\#v1.5.3 -S
bower install https://github.com/MrRio/jsPDF.git\#v1.5.3 -S
My bower.json
"dependencies": {
"canvg": "https://github.com/canvg/canvg.git#v1.5.3",
"jspdf": "https://github.com/MrRio/jsPDF.git#v1.5.3"
},
"resolutions": {
"canvg": "1.5.3"
}
Note: canvg's version must match jspdf's required canvg's version.
Though, this is not a solution I'd like, it ought unblock you guys.
My solution is injected [email protected] in bower.json by manually :
"jspdf": "1.4.1",
"jspdf-autotable": "2.3.5",
Hope help you guys.
Lol
Yeah I ended up adding canvg to my bower file.
"canvg": "https://github.com/canvg/canvg.git#v1.5.3"
@namnh06 , @spryce .. you guys are the best................Combination works for me.......
Most helpful comment
Yeah I ended up adding canvg to my bower file.
"canvg": "https://github.com/canvg/canvg.git#v1.5.3"