Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Following Install and Setup Guide #1168

Closed
bsmcgillis opened this issue Sep 29, 2017 · 2 comments
Closed

Error Following Install and Setup Guide #1168

bsmcgillis opened this issue Sep 29, 2017 · 2 comments

Comments

@bsmcgillis
Copy link

I've just created a new Angular project and installed angularfire2 along with firebase. I've followed the Install and Setup guide ( found here: https://github.com/angular/angularfire2/blob/master/docs/1-install-and-setup.md ).

But on step 8 ( Bind to a List ), I get the following error: Property 'valueChanges' does not exist on type 'FirebaseListObservable<any[]>'.

I assume I'm doing something wrong, but I've done exactly what the guide says. If I'm missing something crucial here, I think it may need to be added to the guide.

@alorle
Copy link

alorle commented Sep 29, 2017

This is due to the latest changes made to the code. Here you can see that the way to use the Firebase database has changed.
At this point you have two possibilities:

  • Use the version currently published in npm (angularfire2@4.0.0-rc.2) and follow this documentation.
  • Use the new version (angularfire2@4.0.0-rc.3-exp.7) and follow the documentation published in Github.

In my opinion, if you are going to start a new project, I would use the new version (npm i --save angularfire2@4.0.0-rc.2), since the trend of the project goes in that direction.

@jamesdaniels
Copy link
Member

We're working on updating the documentation now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants