jeffbcross / qa-app-demo

9 stars 5 forks source link

Module '"node_modules/angularfire2/angularfire"' has no exported member 'DEFAULT_FIREBASE #1

Open WimTilburgs opened 8 years ago

WimTilburgs commented 8 years ago

Hi I get this error when I run ng-serve. I have changed the app.ts to bootstrap my FirebaseUrl but still I get this message.

Thx for your help

[DiffingTSCompiler]: Typescript found the following errors: app.ts (5, 29): Module '"node_modules/angularfire2/angularfire"' has no exported member 'DEFAULT_FIREBASE'. app/components/fb-login/fb-login.ts (2, 9): Module '"node_modules/angularfire2/angularfire"' has no exported member 'DEFAULT_FIREBASE_REF'. app/components/question-detail/question-detail.ts (5, 3): Module '"node_modules/angularfire2/angularfire"' has no exported member 'DEFAULT_FIREBASE'. app/components/question-detail/question-detail.ts (6, 3): Module '"node_modules/angularfire2/angularfire"' has no exported member 'DEFAULT_FIREBASE_REF'. app/components/question-detail/question-detail.ts (10, 9): Module '"node_modules/angularfire2/providers/firebase_list"' has no exported member 'FirebaseListFactory'. app/components/question/question.ts (3, 9): Module '"node_modules/angularfire2/angularfire"' has no exported member 'DEFAULT_FIREBASE_REF'. app/services/auth-state/auth-state.ts (2, 9): Module '"node_modules/angularfire2/angularfire"' has no exported member 'DEFAULT_FIREBASE_REF'. node_modules/angularfire2/providers/auth.d.ts (2, 27): Cannot find module 'firebase'. node_modules/angularfire2/utils/firebase_observable.d.ts (7, 63): Generic type 'Subscription' requires 1 type argument(s). node_modules/angularfire2/utils/firebase_observable.d.ts (7, 102): Cannot find name 'Firebase'.

warnerpinz commented 8 years ago

@WimTilburgs I also faced the same issue. It works if you change the import declaration to 'angularfire2/angularfire2'