Error run build

npm run build --prod


[21:27:08]  ionic-app-scripts 1.3.12
[21:27:08]  build prod started ...
[21:27:08]  clean started ...
[21:27:08]  clean finished in 1 ms
[21:27:08]  copy started ...
[21:27:08]  ngc started ...
[21:27:35]  ionic-app-script task: "build"
[21:27:35]  Error: Error encountered resolving symbol values statically. Calling function 'makeDecorator', function
            calls are not supported. Consider replacing the function or lambda with a reference to an exported function,
            resolving symbol Injectable in
            C:/nodejs/apps/ionic2/IonicFileBaseChat/node_modules/angularfire2/node_modules/@angular/core/src/di/metadata.d.ts,
            resolving symbol Injectable in
            C:/nodejs/apps/ionic2/IonicFileBaseChat/node_modules/angularfire2/node_modules/@angular/core/src/di.d.ts,
            resolving symbol Injectable in
            C:/nodejs/apps/ionic2/IonicFileBaseChat/node_modules/angularfire2/node_modules/@angular/core/src/core.d.ts,
            resolving symbol Injectable in
            C:/nodejs/apps/ionic2/IonicFileBaseChat/node_modules/angularfire2/node_modules/@angular/core/index.d.ts,
            resolving symbol AngularFireAuth in
            C:/nodejs/apps/ionic2/IonicFileBaseChat/node_modules/angularfire2/auth/auth.d.ts, resolving symbol
            AngularFireAuth in C:/nodejs/apps/ionic2/IonicFileBaseChat/node_modules/angularfire2/auth/auth.d.ts
Error: Error encountered resolving symbol values statically. Calling function 'makeDecorator', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol Injectable in C:/nodejs/apps/ionic2/IonicFileBaseChat/node_modules/angularfire2/node_modules/@angular/core/src/di/metadata.d.ts, resolving symbol Injectable in C:/nodejs/apps/ionic2/IonicFileBaseChat/node_modules/angularfire2/node_modules/@angular/core/src/di.d.ts, resolving symbol Injectable in C:/nodejs/apps/ionic2/IonicFileBaseChat/node_modules/angularfire2/node_modules/@angular/core/src/core.d.ts, resolving symbol Injectable in C:/nodejs/apps/ionic2/IonicFileBaseChat/node_modules/angularfire2/node_modules/@angular/core/index.d.ts, resolving symbol AngularFireAuth in C:/nodejs/apps/ionic2/IonicFileBaseChat/node_modules/angularfire2/auth/auth.d.ts, resolving symbol AngularFireAuth in C:/nodejs/apps/ionic2/IonicFileBaseChat/node_modules/angularfire2/auth/auth.d.ts
    at syntaxError (C:\nodejs\apps\ionic2\IonicFileBaseChat\node_modules\@angular\compiler\bundles\compiler.umd.js:1513:34)
    at simplifyInContext (C:\nodejs\apps\ionic2\IonicFileBaseChat\node_modules\@angular\compiler\bundles\compiler.umd.js:23316:23)
    at StaticReflector.simplify (C:\nodejs\apps\ionic2\IonicFileBaseChat\node_modules\@angular\compiler\bundles\compiler.umd.js:23328:13)
    at StaticReflector.annotations (C:\nodejs\apps\ionic2\IonicFileBaseChat\node_modules\@angular\compiler\bundles\compiler.umd.js:22794:60)
    at NgModuleResolver.resolve (C:\nodejs\apps\ionic2\IonicFileBaseChat\node_modules\@angular\compiler\bundles\compiler.umd.js:13352:70)
    at CompileMetadataResolver.getNgModuleMetadata (C:\nodejs\apps\ionic2\IonicFileBaseChat\node_modules\@angular\compiler\bundles\compiler.umd.js:13937:60)
    at addNgModule (C:\nodejs\apps\ionic2\IonicFileBaseChat\node_modules\@angular\compiler\bundles\compiler.umd.js:22526:58)
    at C:\nodejs\apps\ionic2\IonicFileBaseChat\node_modules\@angular\compiler\bundles\compiler.umd.js:22537:14
    at Array.forEach (<anonymous>)
    at _createNgModules (C:\nodejs\apps\ionic2\IonicFileBaseChat\node_modules\@angular\compiler\bundles\compiler.umd.js:22536:26)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Revoluti@0.0.1 build: `ionic-app-scripts build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the Revoluti@0.0.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Diego\AppData\Roaming\npm-cache\_logs\2018-02-21T00_27_35_392Z-debug.log

package.json

{
  "name": "Revoluti",
  "version": "0.0.1",
  "author": "Ionic Framework",
  "homepage": "http://ionicframework.com/",
  "private": true,
  "scripts": {
    "clean": "ionic-app-scripts clean",
    "build": "ionic-app-scripts build",
    "lint": "ionic-app-scripts lint",
    "ionic:build": "ionic-app-scripts build",
    "ionic:serve": "ionic-app-scripts serve",
    "prod": "ionic-app-scripts build --prod"
  },
  "dependencies": {
    "@angular/core": "^4.0.0",
    "@angular/http": "^4.0.0",
    "@angular/platform-browser": "^4.0.0",
    "@ionic-native/core": "~3.4.2",
    "@ionic-native/splash-screen": "~3.4.2",
    "@ionic-native/status-bar": "~3.4.2",
    "@ionic/storage": "~2.0.1",
    "angularfire2": "^2.0.0-beta.7-pre",
    "firebase": "^3.9.0",
    "ionic-angular": "^3.0.1",
    "ionicons": "~3.0.0",
    "rxjs": "^5.4.2",
    "sw-toolbox": "3.4.0",
    "zone.js": "^0.8.20"
  },
  "devDependencies": {
    "@angular/cli": "^1.6.7",
    "@angular/common": "^4.0.0",
    "@angular/compiler": "^4.0.0",
    "@angular/compiler-cli": "^4.0.0",
    "@angular/forms": "^4.0.0",
    "@angular/platform-browser-dynamic": "^4.0.0",
    "@angular/tsc-wrapped": "^4.4.6",
    "@ionic/app-scripts": "~1.3.0",
    "typescript": "2.4.0"
  },
  "description": "First project Revoluti"
}

cli packages: (C:\Users\Diego\AppData\Roaming\npm\node_modules)
    @ionic/cli-utils  : 1.19.1
    ionic (Ionic CLI) : 3.19.1

global packages:
    cordova (Cordova CLI) : 8.0.0

local packages:
    @ionic/app-scripts : 1.3.12
    Cordova Platforms  : browser 5.0.3
    Ionic Framework    : ionic-angular 3.0.1

System:
    Node : v8.9.4
    npm  : 5.6.0
    OS   : Windows 7

Environment Variables:
    ANDROID_HOME : not set

Misc:
    backend : pro

when generating the build of this error, how to fix?

thanks