export 'InjectionToken' was not found in '@angular/core'
WARNING in ./~/angularfire2/angularfire2.js 3:26-40 "export 'InjectionToken' was not found in '@angular/core'
WARNING in ./~/angularfire2/app/firebase.app.module.js 3:40-54 "export 'InjectionToken' was not found in '@angular/core' webpack: Compiled with warnings.
in every project same problem coming
@Awadhesh31 have you upgraded to 4.0.0-rc.0?
yes. i have this problem with 4.0.0-rc.0
1.npm cache clean 2.npm install angularfire2 firebase --save I have uses above step and it works, previously it was showing "angularfire2": "4.0.0-rc.0", "firebase": "^3.9.0", and after using above step and rpm build it working properly and know it showing "angularfire2": "^2.0.0-beta.7-pre", "firebase": "^3.9.0",
and this is happing because of angularfire2 version
Any solution?
Any Solution x2 ??? Respond!!!

Can someone help me plz? I could find any solution yet
Add me to the list of people getting this error. I'm simply following the install steps shown here. Using Angularfire2 4.0.0-rc.2 firebase 4.3.0
I found a solution to this problem. I upgraded to the newest node (8.4) and latest angular/cli...and that resolved the problem. Previously I was using the older angular-cli.
ERROR in C:/Users/vadnu/foodService/node_modules/@agm/core/services/maps-api-loader/lazy-maps-api-loader.d.ts (1,10): Module '"C:/Users/vadnu/foodService/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.
i Get this too
is there a fix?
ERROR in C:/Users/vadnu/foodService/node_modules//services/maps-api-loader/lazy-maps-api-loader.d.ts (1,10): Module '"C:/Users/vadnu/foodService/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.
i Get this too
is there a fix? same for me !!
Same error, my environment:
node: v8.9.1 "angular-cli": "1.0.0-beta.28.3", "angularfire2": "^5.0.0-rc.4", "firebase": "^4.6.2",
This seems to have helped: https://github.com/angular/angularfire2/issues/1089#issuecomment-319980130
the same issue for me to `WARNING in ./~/@agm/core/services/maps-api-loader/lazy-maps-api-loader.js 24:38-52 "export 'InjectionToken' was not found in '@angular/core'
ERROR in /Desktop/angular-cli/node_modules/@agm/core/services/maps-api-loader/lazy-maps-api-loader.d.ts (1,10): Module '"/Desktop/angular-cli/node_modules/@an gular/core/index"' has no exported member 'InjectionToken'. webpack: Failed to compile. `