Module '" node_modules/@angular/core/index"' has no exported member 'InjectionToken'.
Version info
Angular: 1.0.0-beta.28.3
**Firebase:^4.2.0
**AngularFire:*:^4.0.0-rc0,
Other (e.g. Ionic/Cordova, Node, browser, operating system):
How to reproduce these conditions
Failing test unit, Plunkr, or JSFiddle demonstrating the problem
Steps to set up and reproduce
Sample data and security rules
<-- include/attach/link to some json sample data (or provide credentials to a sanitized, test Firebase project) -->
Debug output
** Errors in the JavaScript console **
** Output from firebase.database().enableLogging(true); **
** Screenshots **
Expected behavior
Actual behavior

Please help me to resolve this issue
Package.json
{ "name": "firebaselogin", "version": "0.0.0", "license": "MIT", "angular-cli": {}, "scripts": { "ng": "ng", "start": "ng serve", "test": "ng test", "pree2e": "webdriver-manager update --standalone false --gecko false", "e2e": "protractor" }, "private": true, "dependencies": { "@angular/common": "^2.3.1", "@angular/compiler": "^2.3.1", "@angular/core": "^2.3.1", "@angular/forms": "^2.3.1", "@angular/http": "^2.3.1", "@angular/platform-browser": "^2.3.1", "@angular/platform-browser-dynamic": "^2.3.1", "@angular/router": "^3.3.1", "angularfire2": "^4.0.0-rc0", "core-js": "^2.4.1", "firebase": "^4.2.0", "rxjs": "^5.0.1", "ts-helpers": "^1.1.1", "typings": "^2.1.1", "zone.js": "^0.7.2" }, "devDependencies": { "@angular/cli": "^1.2.6", "@angular/compiler-cli": "^2.3.1", "@types/jasmine": "2.5.38", "@types/node": "^6.0.42", "angular-cli": "^1.0.0-beta.28.3", "codelyzer": "~2.0.0-beta.1", "jasmine-core": "2.5.2", "jasmine-spec-reporter": "2.5.0", "karma": "1.2.0", "karma-chrome-launcher": "^2.0.0", "karma-cli": "^1.0.1", "karma-jasmine": "^1.0.2", "karma-remap-istanbul": "^0.2.1", "protractor": "~4.0.13", "ts-node": "1.2.1", "tslint": "^4.3.0", "typescript": "~2.0.3" } }
Last version of angularfire2 supporting that old angular is 2.0.0-beta.8. Version 4.0.0-rc.0 must be used with angular ^4.0.0
how to migrate to angular ^4..0.0 from angular 1.0.0-beta.28.3 ?
I fix my all error by doing the following
npm install @angular/common@latest @angular/compiler@latest @angular/compiler-cli@latest @angular/core@latest @angular/forms@latest @angular/http@latest @angular/platform-browser@latest @angular/platform-browser-dynamic@latest @angular/platform-server@latest @angular/router@latest @angular/animations@latest typescript@latest --save
and then run npm install promise-polyfill --save-exact
Worked for me
Thanks @jymdman
Thank you fahadhussain2 , it works like a champ.
Thanks @fahadhussain2, your tip solved my problem.
Somebody get this man a beer asap!
Thank You, It was really helpful!
Damnnn my hero!!! <3
Damn, talk about a Hail Mary...
Yes , your tip solved my problem, it works. thanks
| import { ListPage } from '../pages/list/list'; | |
|---|---|
| import { Recipespage } from '../pages/recipes/recipes' | |
| import { ListPage } from '../pages/list/list'; | |
|---|---|
| import { Recipespage } from '../pages/recipes/recipes' |
thanks man!
thanks buddy. it worked for me too
Thank you @fahadhussain2! This solve to me
@fahadhussain2 Awesome!! ;)
Damn! my ninja... Big thanks! @fahadhussain2
Good lord! I spent more than 5 hours fixing multiple chain of issues and this finally helped! Thanks @fahadhussain2 !!!