Closed chinedufn closed 9 years ago
TLDR: using angularfire 0.9.0 fixes one issue but creates another. Solutions:
Im assuming your using latest commit (dd6e4a046fa4110988ef2802870eb34b57d5389f).
The issues are a result of the repos being mid-release and out of sync. Once angularfire 0.9.1 is out then the prefered signature for auth.$createUser
will be an object (the way the code was written).
You just caught the repo at a bad time :smile:
See efa895e2088dd4597769d389cc6e2206dd230883
Great thanks I will close this then
Noob question, but how does one "build from angularfire@master "? Would love to use the latest version of this branch, just not sure how to get the right version of angular fire.
Follow the directions for setting up angularfire-seed as written in the README with one adjustment. After cloning the repo and before executing npm install
, open up the bower.json file and remove the angularfire dependency. You can follow the rest of the guide as is.
The next step is to build angularfire yourself and place the dist/
folder generated in the correct location so that the index.html from angularfire-seed can get to it.
index.html
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/angular-route/angular-route.js"></script>
<script src="bower_components/firebase/firebase.js"></script>
<script src="bower_components/firebase-simple-login/firebase-simple-login.js"></script>
<script src="bower_components/angularfire/dist/angularfire.js"></script>
Building angularfire is the easiest...you can use their contributing instructions with a minor modification
$ git clone https://github.com/firebase/angularfire.git
$ cd angularfire # go to the angularfire directory
$ npm install -g grunt-cli # globally install grunt task runner
$ npm install -g bower # globally install Bower package manager
$ npm install # install local npm build / test dependencies
$ bower install # install local JavaScript dependencies
$ grunt build # will generate build and place them under dist/
Hope this helps.
@dbuentello - thanks for the quick reply! Trying out your instructions now...
fixes #63