FirebaseExtended / angularfire

AngularJS bindings for Firebase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installing angularfire through JSPM gives error

SamarRizvi opened this issue · comments

Running jspm install angularfire gives error: no version match for github:firebase/firebase-bower@3.x.x

I've never used jspm and have no idea how it works. Can you provide some more details about what we would need to do here? The latest versions of both AngularFire and Firebase are on Bower so I'm not sure why it doesn't work.

If you use ^3.0.0 or ^3 instead of 3.x.x, it shall work fine on JSPM. JSPM probably doesn't understand 3.x.x.

Seems like a bug on their end to be honest. 3.x.x is valid semver. I'd raise the issue with their project if you haven't already.

commented

I believe this is because your package.json does not contain the correct version:
https://github.com/firebase/angularfire/blob/master/package.json

"version": "0.0.0",

I forked the angularfire repo, and changed the package version:
kmturley@2514e36

"version": "2.3.0",

Then ran the installation pointing to my fork instead:

jspm install github:kmturley/angularfire

And it worked!