angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Lastest release has an issue with Firebase reference / not recognized.

Open Energy4216 opened this issue 9 years ago • 3 comments

Please provide us with the following information:

OS?

windows 10

Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc. Nothing changed except the version of angular cli betta 22-1. Reverted back to beta 17 and firebase reference works just fine. Only picked 17 because thats what I had before the issue.

Try using angularfire2 with betta 22-1 and use a firebase reference like this and see if you get an error: userPost(postForm) { let userPost = this.af.auth.subscribe( (user) => { if (user) { firebase.database().ref('users/' + user.uid + '/userposts').push(postForm.value.postText); this.postForm.reset();
} else { console.log("No user logged in!") } }); }

Mention any other details that might be useful.

Have everything set up correctly and has worked in all previous version as far as I know. Currently using the latest angularfire2 npm install.


Thanks! We'll be in touch soon.

Energy4216 avatar Dec 20 '16 03:12 Energy4216

Can you setup a repo that shows the error with the latest version? Also what's the error that shows up?

filipesilva avatar Dec 30 '16 16:12 filipesilva

Closed as inactive.

filipesilva avatar Jan 24 '17 18:01 filipesilva

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.