Open WebDeveloperWannaBe opened 6 years ago
in command prompt type npm install firebase@3.6.6 angularfire2@4.0.0-rc.0 --save
then the error will be gone
You are right, this fixed it for me.
Also, it still has an error in the app.module.ts
where it says
Module '"c:/xampp/htdocs/wes_doyle_projects/dancechat/node_modules/angularfire2/index"' has no exported member 'AngularFireModule'.
for this line
import { AngularFireModule } from 'angularfire2';
But despite this, app is so far working
Any ideas?
ERROR in src/app/services/chat.service.ts(56,37): error TS2345: Argument of type '{ query: { limitToLast: number; orderByKey: boolean; }; }' is not assignable to parameter of type 'FirebaseListFactoryOpts'. Types of property 'query' are incompatible. Type '{ limitToLast: number; orderByKey: boolean; }' is not assignable to type 'Query'. Property 'endAt' is missing in type '{ limitToLast: number; orderByKey: boolean; }'.
This is the error I'm currently facing right now. Hope you could help me. Thank you.