I'm doing this course now and I'm totally stuck because it seems that all these firebase modules have changed. If someone knows how all of this has changed and what to do, please tell me! thanks
@@Don_ron666 thx ruben for your comment. Im really dissapointed with the course, it is really out of date and not support at all from the teacher and no way to refund it...
English is not my mother tongue but man you made a fantastic explanation. I was searching during days with tons of videos regarding to this topic but any of them were so good like this. After this, All I can do is give you a like and subscribe to your channel. You truly deserve it.
I need help. I'm having troubles around 16:51. Somehow "db.list" doesn't have the subscribe property anymore. Here is the error: "Property 'subscribe' does not exist on type 'AngularFireList'." It also says that the return type of "db.list" is "AngularFireList". So I'm guessing that it is no longer returning an observable which why the subscribe property is no longer available. Angular CLI: 7.1.4 Node: 10.15.0 @angular/fire: 5.1.1 Please help. Thanks. EDIT: So I found the answer. db.list('/courses') .valueChanges() .subscribe(courses=> { this.courses= courses; console.log(this.courses); });
I know what you mean - and that's one reason I like online courses with someone other than a normal American accent. The interesting way the words are spoken helps keep me tuned in for some reason, and keeps me from getting distracted during parts I already know. All the online courses I take are with instructors with accents! I specifically enjoy how Mosh speaks.
im doing his angular course and im really stuck in the project, it seems to be that all the firebase configuration has changed and the course has not been updated. not recommended his angular course!!!
I have type error in Adding Object section in html file (let course of courses$ | async): Error: InvalidPipeArgument: '[object Object]' for pipe 'AsyncPipe' How can I fix it? It seems I have different types and *ngFor doesn't iterate courses$ But adding new course to the database works correctly. The issue is that it isn't displaying on the page.
I would note that even with observables coming from http (even they emit single value) we should care about unsubscribe on component destroy hook because the ajax call could take some time, and if the component is destroyed before the call completes, the subscription will still be in play (you can try it with rxjs .delay in angular 4)
hi Mosh.. seriously you did a very good job ... can you plz do me a favour .. i need to link for build enterprise apps with angular course .. can you plz paste it here.. i cannot find it on your website.
i get this error ERROR in node_modules/@angular/fire/firebase.app.module.d.ts:2:10 - error TS2614: Module '"../../firebase"' has no exported member 'analytics'. Did you mean to use 'import analytics from "../../firebase"' instead? 2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app'; ~~~~~~~~~ node_modules/@angular/fire/firebase.app.module.d.ts:2:21 - error TS2614: Module '"../../firebase"' has no exported member 'app'. Did you mean to use 'import app from "../../firebase"' instead? 2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app'; ~~~ node_modules/@angular/fire/firebase.app.module.d.ts:2:26 - error TS2614: Module '"../../firebase"' has no exported member 'auth'. Did you mean to use 'import auth from "../../firebase"' instead? 2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app'; ~~~~ node_modules/@angular/fire/firebase.app.module.d.ts:2:32 - error TS2614: Module '"../../firebase"' has no exported member 'database'. Did you mean to use 'import database from "../../firebase"' instead? 2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app'; ~~~~~~~~ node_modules/@angular/fire/firebase.app.module.d.ts:2:42 - error TS2614: Module '"../../firebase"' has no exported member 'firestore'. Did you mean to use 'import firestore from "../../firebase"' instead? 2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app'; ~~~~~~~~~ node_modules/@angular/fire/firebase.app.module.d.ts:2:53 - error TS2614: Module '"../../firebase"' has no exported member 'functions'. Did you mean to use 'import functions from "../../firebase"' instead? 2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app'; ~~~~~~~~~ node_modules/@angular/fire/firebase.app.module.d.ts:2:64 - error TS2614: Module '"../../firebase"' has no exported member 'messaging'. Did you mean to use 'import messaging from "../../firebase"' instead? 2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app'; ~~~~~~~~~ node_modules/@angular/fire/firebase.app.module.d.ts:2:75 - error TS2614: Module '"../../firebase"' has no exported member 'performance'. Did you mean to use 'import performance from "../../firebase"' instead? 2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app'; ~~~~~~~~~~~ node_modules/@angular/fire/firebase.app.module.d.ts:2:88 - error TS2614: Module '"../../firebase"' has no exported member 'remoteConfig'. Did you mean to use 'import remoteConfig from "../../firebase"' instead? 2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app'; ~~~~~~~~~~~~ node_modules/@angular/fire/firebase.app.module.d.ts:2:102 - error TS2614: Module '"../../firebase"' has no exported member 'storage'. Did you mean to use 'import storage from "../../firebase"' instead? 2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app'; ~~~~~~~ node_modules/@angular/fire/firestore/interfaces.d.ts:2:10 - error TS2614: Module '"../../../firebase"' has no exported member 'firestore'. Did you mean to use 'import firestore from "../../../firebase"' instead? 2 import { firestore } from 'firebase/app'; ~~~~~~~~~ node_modules/@angular/fire/firestore/collection/collection.d.ts:2:10 - error TS2614: Module '"../../../../firebase"' has no exported member 'firestore'. Did you mean to use 'import firestore from "../../../../firebase"' instead? 2 import { firestore } from 'firebase/app'; ~~~~~~~~~ node_modules/@angular/fire/firestore/document/document.d.ts:5:10 - error TS2614: Module '"../../../../firebase"' has no exported member 'firestore'. Did you mean to use 'import firestore from "../../../../firebase"' instead? 5 import { firestore } from 'firebase/app'; ~~~~~~~~~ node_modules/@angular/fire/firestore/collection-group/collection-group.d.ts:2:10 - error TS2614: Module '"../../../../firebase"' has no exported member 'firestore'. Did you mean to use 'import firestore from "../../../../firebase"' instead? 2 import { firestore } from 'firebase/app'; ~~~~~~~~~ node_modules/@angular/fire/firestore/firestore.d.ts:8:10 - error TS2614: Module '"../../../firebase"' has no exported member 'firestore'. Did you mean to use 'import firestore from "../../../firebase"' instead? 8 import { firestore } from 'firebase/app';
i have a slight difference (nov 13 2017). When i go to the console, I don't have objects, rather the data received from Firebase is a normal array. Later, in the view snippet, to get it to work i used {{ course }} rather than {{ course.$value }} . Does anyone else have this difference?
Though I have a problem with fetching data from firebase in form of objects. courses: any[]; constructor(db: AngularFireDatabase) { db.list('/courses').valueChanges().subscribe(courses => {this.courses = courses; console.log(this.courses); }); } This is the way, how I fetch data from firebase, because I am working with the latest version of Angular. So it returns data not in form of objects-key: value pairs, but I get an array like: (3) ["course 1", "course 2", "course 3"]. Do you have any suggestions how can I fix that? Thank you in advance.
sir i am having problem for adding firebase as am using angular 6 with new version of firebase... these methods are somehow not working... i am very greatful to you if you will make a video on it ..its very much needed
StackOverflow says that it should work: db.list('/courses') .valueChanges() .subscribe(courses=> { this.courses= courses; console.log(this.courses); });
mosh i am getting some error while running the command npm install firebase angularfire2 --save if somehow i manage to pass i am getting some more errors in console regarding function and some fire* is not exported from '@angular/modul....blablabla' please do help me
I like a lot your way of teaching !! I'm having some difficulties in displaying data from fire-base. I'm using NG 6, and since a lot have been changed and deprecated i struggled a bit to get the same result as a beginner with NG 6. I couldn't manage to display data like your '' Adding object lecture " exactly when i pushed an object and tried to display it using {{ course || course.name }}. I get as a return the list but with [object object] instead of course5. If anyone had the same problem, it would be great to share your solutions. Thanks in advance !
Hey Mosh we got an latest update on Firebase ie FireStore. what do you say about that i mean any course update and demo video's on this would be great.
Thanks for this very nice tutorial! I have a small problem, when I want to call the "subscribe" on db.list('courses'), I get the following message: Property 'subscribe' does not exist on type 'AngularFireList'. Is that changed over time, or ..?
I had the same problem have a look to the code below db.list('/courses').valueChanges().subscribe(result=>{ this.courses=result; console.log(this.courses); })
14:19 there is some way for check if connection are right without insert ou read data? Tutorial end sad 17:40 ERROR: (Property 'subscribe' does not exist on type 'AngularFireList')
Getting this error while "ng serve", can anybody help me out /node_modules/angularfire2/database/list/audit-trail.d.ts (7,133): Cannot find namespace 'database'
In console.log it does not print the object it just print the values db.list('/courses').valueChanges().subscribe(courses =>{ this.course = courses; console.log(this.course); }); Output in console 0: "course1" 1: "course2" 2: author: "name" price: 150
that is because of a breaking change in firebase package in 4.8.1, try changing the version of firebase: ^4.8.1 to firebase: 4.8.0 in package.json, and then hit npm update in the project folder.
Dear Mosh, thank you very much for your tutorials.They are really great, especially for beginners.
I saw many tutorials. Yours are the best explained...no way
Hey greetings from Brazil.
I love how you explain the details.
Today you won a new follower.
Thankyou Mosh
Dear Mosh, could you please share the second video of the firebase tutorial.
I'm doing this course now and I'm totally stuck because it seems that all these firebase modules have changed. If someone knows how all of this has changed and what to do, please tell me! thanks
i have the same problem, i wish i could refund the course but there is not possible, so a big let down...
@@whocares611 I have the same problem as well trying to work through them but it's very hard
@@Don_ron666 thx ruben for your comment. Im really dissapointed with the course, it is really out of date and not support at all from the teacher and no way to refund it...
Great little video that is a very clear walkthrough of getting Firebase up and running in Angular 2. Worked for me!
Perfect, really helpful.
English is not my mother tongue but man you made a fantastic explanation. I was searching during days with tons of videos regarding to this topic but any of them were so good like this. After this, All I can do is give you a like and subscribe to your channel. You truly deserve it.
Juan Luna yeah the same for me
I need help. I'm having troubles around 16:51. Somehow "db.list" doesn't have the subscribe property anymore.
Here is the error: "Property 'subscribe' does not exist on type 'AngularFireList'."
It also says that the return type of "db.list" is "AngularFireList".
So I'm guessing that it is no longer returning an observable which why the subscribe property is no longer available.
Angular CLI: 7.1.4
Node: 10.15.0
@angular/fire: 5.1.1
Please help. Thanks.
EDIT:
So I found the answer.
db.list('/courses')
.valueChanges()
.subscribe(courses=> {
this.courses= courses;
console.log(this.courses);
});
I was having the same issue, thanks for the tip :)
Thank you, I was having the same issue
nakita ko to sa stackoverflow ...dapat pala naghanap nalang muna ako sa comments haha
thanks a lot!
не зря английский учил! super thx for tutorial
very easy to undersand, thanks Mr Mosh
Anyone else loves the say Mosh says "so"? Ok, I'll let myself out now. XD
I know what you mean - and that's one reason I like online courses with someone other than a normal American accent. The interesting way the words are spoken helps keep me tuned in for some reason, and keeps me from getting distracted during parts I already know. All the online courses I take are with instructors with accents! I specifically enjoy how Mosh speaks.
im doing his angular course and im really stuck in the project, it seems to be that all the firebase configuration has changed and the course has not been updated. not recommended his angular course!!!
true..
simple explanation ... greate understanding .... WOW tanks Mr MOSH
Sir Love You (Blessings)
This is the best explanation I have found! Thank you!
Very informative
Your Angular tutorials are awesome! Please do more :)
I have type error in Adding Object section in html file (let course of courses$ | async): Error: InvalidPipeArgument: '[object Object]' for pipe 'AsyncPipe' How can I fix it? It seems I have different types and *ngFor doesn't iterate courses$
But adding new course to the database works correctly. The issue is that it isn't displaying on the page.
I would note that even with observables coming from http (even they emit single value) we should care about unsubscribe on component destroy hook because the ajax call could take some time, and if the component is destroyed before the call completes, the subscription will still be in play (you can try it with rxjs .delay in angular 4)
step by step .. super
love all your tutorials, you are a very good instructor
good teaching thank you sir
Course is out of date
When doing npm install it says angularfire2 is depreciated and to user @angular/fire instead. Please help me with this.
Awesome dear Sir Mosh :)
hi Mosh.. seriously you did a very good job ... can you plz do me a favour .. i need to link for build enterprise apps with angular course .. can you plz paste it here.. i cannot find it on your website.
Google Firebase has now changed a lot. Confused! :O
i get this error
ERROR in node_modules/@angular/fire/firebase.app.module.d.ts:2:10 - error TS2614: Module '"../../firebase"' has no exported member 'analytics'. Did you mean to use 'import analytics from "../../firebase"' instead?
2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app';
~~~~~~~~~
node_modules/@angular/fire/firebase.app.module.d.ts:2:21 - error TS2614: Module '"../../firebase"' has no exported member 'app'. Did you mean to use 'import app from "../../firebase"' instead?
2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app';
~~~
node_modules/@angular/fire/firebase.app.module.d.ts:2:26 - error TS2614: Module '"../../firebase"' has no exported member 'auth'. Did you mean to use 'import
auth from "../../firebase"' instead?
2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app';
~~~~
node_modules/@angular/fire/firebase.app.module.d.ts:2:32 - error TS2614: Module '"../../firebase"' has no exported member 'database'. Did you mean to use 'import database from "../../firebase"' instead?
2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app';
~~~~~~~~
node_modules/@angular/fire/firebase.app.module.d.ts:2:42 - error TS2614: Module '"../../firebase"' has no exported member 'firestore'. Did you mean to use 'import firestore from "../../firebase"' instead?
2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app';
~~~~~~~~~
node_modules/@angular/fire/firebase.app.module.d.ts:2:53 - error TS2614: Module '"../../firebase"' has no exported member 'functions'. Did you mean to use 'import functions from "../../firebase"' instead?
2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app';
~~~~~~~~~
node_modules/@angular/fire/firebase.app.module.d.ts:2:64 - error TS2614: Module '"../../firebase"' has no exported member 'messaging'. Did you mean to use 'import messaging from "../../firebase"' instead?
2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app';
~~~~~~~~~
node_modules/@angular/fire/firebase.app.module.d.ts:2:75 - error TS2614: Module '"../../firebase"' has no exported member 'performance'. Did you mean to use 'import performance from "../../firebase"' instead?
2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app';
~~~~~~~~~~~
node_modules/@angular/fire/firebase.app.module.d.ts:2:88 - error TS2614: Module '"../../firebase"' has no exported member 'remoteConfig'. Did you mean to use
'import remoteConfig from "../../firebase"' instead?
2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app';
~~~~~~~~~~~~
node_modules/@angular/fire/firebase.app.module.d.ts:2:102 - error TS2614: Module '"../../firebase"' has no exported member 'storage'. Did you mean to use 'import storage from "../../firebase"' instead?
2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app';
~~~~~~~
node_modules/@angular/fire/firestore/interfaces.d.ts:2:10 - error TS2614: Module '"../../../firebase"' has no exported member 'firestore'. Did you mean to use 'import firestore from "../../../firebase"' instead?
2 import { firestore } from 'firebase/app';
~~~~~~~~~
node_modules/@angular/fire/firestore/collection/collection.d.ts:2:10 - error TS2614: Module '"../../../../firebase"' has no exported member 'firestore'. Did you mean to use 'import firestore from "../../../../firebase"' instead?
2 import { firestore } from 'firebase/app';
~~~~~~~~~
node_modules/@angular/fire/firestore/document/document.d.ts:5:10 - error TS2614: Module '"../../../../firebase"' has no exported member 'firestore'. Did you mean to use 'import firestore from "../../../../firebase"' instead?
5 import { firestore } from 'firebase/app';
~~~~~~~~~
node_modules/@angular/fire/firestore/collection-group/collection-group.d.ts:2:10 - error TS2614: Module '"../../../../firebase"' has no exported member 'firestore'. Did you mean to use 'import firestore from "../../../../firebase"' instead?
2 import { firestore } from 'firebase/app';
~~~~~~~~~
node_modules/@angular/fire/firestore/firestore.d.ts:8:10 - error TS2614: Module '"../../../firebase"' has no exported member 'firestore'. Did you mean to use
'import firestore from "../../../firebase"' instead?
8 import { firestore } from 'firebase/app';
@Muhammad Mehdi this tutorial is too old... that is the reason why does not work....
Sir... Please Help me...
can't read this...
import { AngularFireDatabase, FirebaseListObservable } from 'angularfire2/database';
i have a slight difference (nov 13 2017). When i go to the console, I don't have objects, rather the data received from Firebase is a normal array. Later, in the view snippet, to get it to work i used {{ course }} rather than {{ course.$value }} . Does anyone else have this difference?
yeah the newer version of angular just makes it simpler I think
yes. {{course}} worked for me too
Fantastic, Awesome teaching By Most Hamedani.
man you're good, i need more firebase tuts.... can you please do a (zero to pro firebase series)
very good job
Though I have a problem with fetching data from firebase in form of objects.
courses: any[];
constructor(db: AngularFireDatabase) {
db.list('/courses').valueChanges().subscribe(courses => {this.courses = courses; console.log(this.courses); });
}
This is the way, how I fetch data from firebase, because I am working with the latest version of Angular.
So it returns data not in form of objects-key: value pairs, but I get an array like: (3) ["course 1", "course 2", "course 3"].
Do you have any suggestions how can I fix that?
Thank you in advance.
I am also facing same problem
constructor(db: AngularFireDatabase) {
db.list('/courses').snapshotChanges().subscribe(courses => {this.courses = courses; console.log(this.courses); });
}
sir i am having problem for adding firebase as am using angular 6 with new version of firebase... these methods are somehow not working... i am very greatful to you if you will make a video on it ..its very much needed
keep getting error Property 'subscribe' does not exist on type 'AngularFireList'.
:/
I am facing the same problem
StackOverflow says that it should work:
db.list('/courses')
.valueChanges()
.subscribe(courses=> {
this.courses= courses;
console.log(this.courses);
});
Array create with firebase doesn’t exist in my localhost (in console section). At 19:47 in this video. Solutions?
good info about memory leaks !
This guide is not working with AngularFire 5.0. Please be aware.
Array create with firebase doesn’t exist in my localhost (in console section). At 19:47 in this video. Solutions?
mosh i am getting some error while running the command
npm install firebase angularfire2 --save
if somehow i manage to pass i am getting some more errors in console regarding
function and some fire* is not exported from '@angular/modul....blablabla'
please do help me
thanks for your great videos! q: how do we "unsubscribe" from observing changes to the Firebase data?
Which editor or IDE are you using sir ?
very helpful
I dont have environment folder inside src? As I have created project using yeoman and not ng app.How do I add now?
at 17:28 on saving i get error "ERROR in src/app/app.component.ts(13,8): error TS2339: Property 'subscribe' does not exist on type 'AngularFireList'."
same issue u I face hw you resolve this
I like a lot your way of teaching !!
I'm having some difficulties in displaying data from fire-base. I'm using NG 6, and since a lot have been changed and deprecated i struggled a bit to get the same result as a beginner with NG 6. I couldn't manage to display data like your '' Adding object lecture " exactly when i pushed an object and tried to display it using {{ course || course.name }}. I get as a return the list but with [object object] instead of course5.
If anyone had the same problem, it would be great to share your solutions. Thanks in advance !
this sections of this.courses = courses is producing an error. I've copied the code line for line
thank you sir for your brief explanation on firebase
i can get data at localhost but i didnt get when i download content of dist file via filezilla on my website. what can i do for?
I think you forgot to mention, npm install angularfire2 ... btw great tutorial. Thanks for sharing.
Hey Mosh we got an latest update on Firebase ie FireStore. what do you say about that i mean any course update and demo video's on this would be great.
i am getting error "TypeError: db.list(...).subscribe is not a function" can you help me please
Try this one..
db.list('/Users').valueChanges().subscribe(console.log(this.users)});
Really Fantastic. Thank you
AYOUB MOROCCO
Tq Sooo much
hi sir i want full back end angular latest course is it available ?
It works!! Cool :)
what angular version you use ?
Hi great course! But i am retrieving an empty array though i have stored data in firebase. Can anyone resolve the problem?
Thanks in advance.
same, you fixed it ?if so please let me know how
CAn you share the video tutorial on handling memory leaks in angular firebase.
What is the difference between angularfire2 and @angular/fire
i have subcribe error by your code.. how to solve it. i am using angular 8
Please show me how to get one object value from firebase to angular, plz
This doesn't work anymore with angularfire2 5?
Why did you put db into imports surely that is a service provider ?
mosh..i don't know if you read comments but can you make a tutorial on infinite scroll angular + asp.net core?
Thanks for this very nice tutorial! I have a small problem, when I want to call the "subscribe" on db.list('courses'), I get the following message: Property 'subscribe' does not exist on type 'AngularFireList'. Is that changed over time, or ..?
I had the same problem have a look to the code below
db.list('/courses').valueChanges().subscribe(result=>{
this.courses=result;
console.log(this.courses);
})
same problem. Samebody solved this?
Do AQ Khan's solution, and then change your "component.html" to
{{ course }}
ngOnInit()
// tslint:disable-next-line:one-line
{
this._db.list('/courses')
.valueChanges()
.subscribe(product => {
this.products = product;
console.log(this.products);
} );
}
use this one happy coding :)
thanks Vipul, how did u figure it out?
14:19 there is some way for check if connection are right without insert ou read data? Tutorial end sad 17:40 ERROR: (Property 'subscribe' does not exist on type 'AngularFireList')
Same for me
If u using latest angular cli thn u have to use valuechages method
Don't use subscribe method
export class AppComponent implements OnInit {
title = 'app';
products: Observable;
// tslint:disable-next-line:one-line
constructor(private _db: AngularFireDatabase){}
ngOnInit()
// tslint:disable-next-line:one-line
{
this.products = this._db.list('/products').valueChanges();
}
}
use this one ...
ngOnInit()
// tslint:disable-next-line:one-line
{
this._db.list('/courses')
.valueChanges()
.subscribe(product => {
this.products = product;
console.log(this.products);
} );
}
happy coding...!!!!! :)
Getting this error while "ng serve", can anybody help me out
/node_modules/angularfire2/database/list/audit-trail.d.ts (7,133): Cannot find namespace 'database'
Same here :/
downgrade to firebase 4.8.0 with npm install firebase@4.8.0 --save
Achref Othmeni thanks, it worked.
hey Mosh its old version of Firebase, currently V5 have several changes , can you redo the video with latest
I am waiting for a MEAN stack course
good luck
Okay Mr.mosh
import { AngularFire } from 'angularfire2'; not found ???
had the same problem, can you fix it?
In console.log it does not print the object it just print the values
db.list('/courses').valueChanges().subscribe(courses =>{ this.course = courses;
console.log(this.course);
});
Output in console
0: "course1"
1: "course2"
2:
author: "name"
price: 150
Can Firebase used for electronic Patient record Management appps eficienttly
Getting runtime error as :
"Uncaught (in promise): Error: StaticInjectorError(AppModule)[AngularFireDatabase -> InjectionToken angularfire2.app.options]: StaticInjectorError(Platform: core)[AngularFireDatabase -> InjectionToken angularfire2.app.options]: NullInjectorError: No provider for InjectionToken angularfire2.app.options!
I LOVE YOU !
Sir, Please Help...
Property 'subscribe' does not exist on type 'AngularFireList'.
Fasil use this code
ngOnInit()
// tslint:disable-next-line:one-line
{
this._db.list('/courses')
.valueChanges()
.subscribe(product => {
this.products = product;
console.log(this.products);
} );
}
Happy Coding
Vipul Singh: thanks...
how to to add operation in firebase
"No provider for InjectionToken FirebaseAppConfigToken!" I got this runtime error
Go to fireship
for this kind of stuff
how can i filter my data ?
how to get reference id in return insert
I am watching this now but seems like they have changed the UI display style of database in firebase.
Bro!! You always impress me a lot and a lot feed our knowledge ;)
How add bootstrap to angular 5
17:00 Fix to : `db.list('/courses')
.valueChanges().subscribe(courses => { ...`
Yes, but still not giving u the key. And if u take snapshotChanges then it gives some messy jason
I was able to able to display on data on the client side by adding the following
{{ course || course.name }}
mosh aziz in cours ro update kon plssss.
Anyone getting error 'cannot find namespace firebase' ?
that is because of a breaking change in firebase package in 4.8.1, try changing the version of firebase: ^4.8.1 to firebase: 4.8.0 in package.json, and then hit npm update in the project folder.
Yeah i've done that and it worked ! thanks .
it is not working
Mongo is a NOSQL
Could you plz do a video on Firbase + React.js? I believe lots of ppl would appreciate it very much!
pretty old code of firebase
What happens to ER model
hi mosh I completed your ap.net mvc course few weeks before ,razor views or angular which should I choose
very useful