Hi everyone,
I’m trying to use npm run ionic:build -- --prod
, but i always get this error:
Error: Failed to transpile TypeScript at errorCheckProgram
This is a part of my package.json
"dependencies": {
"@agm/core": "^1.0.0-beta.2",
"@angular/common": "4.1.2",
"@angular/compiler": "4.1.2",
"@angular/compiler-cli": "4.1.2",
"@angular/core": "4.1.2",
"@angular/forms": "4.1.2",
"@angular/http": "4.1.2",
"@angular/platform-browser": "4.1.2",
"@angular/platform-browser-dynamic": "4.1.2",
"@auth0/cordova": "^0.2.0",
"@ionic-native/camera": "^4.1.0",
"@ionic-native/core": "3.10.2",
"@ionic-native/facebook": "^3.5.0",
"@ionic-native/file": "^4.0.0",
"@ionic-native/file-path": "^4.0.0",
"@ionic-native/geolocation": "^3.14.0",
"@ionic-native/social-sharing": "^4.0.0",
"@ionic-native/splash-screen": "3.10.2",
"@ionic-native/status-bar": "3.10.2",
"@ionic-native/stripe": "^4.0.0",
"@ionic-native/transfer": "^3.14.0",
"@ionic/app-scripts": "^3.2.0",
"@ionic/cloud-angular": "^0.12.0",
"@ionic/storage": "2.0.1",
"@types/googlemaps": "^3.29.2",
"@types/jasmine": "^2.8.8",
"angular2-fullcalendar": "^1.0.19",
"angular2-google-maps": "^0.17.0",
"ap-angular2-fullcalendar": "^1.3.1",
"auth0-js": "^8.8.0",
"cordova-android": "^6.2.3",
"cordova-browser": "^5.0.4",
"cordova-plugin-camera": "^2.4.1",
"cordova-plugin-compat": "^1.2.0",
"cordova-plugin-console": "^1.1.0",
"cordova-plugin-device": "^1.1.7",
"cordova-plugin-facebook4": "^1.10.1",
"cordova-plugin-geolocation": "^2.4.3",
"cordova-plugin-splashscreen": "^4.1.0",
"cordova-plugin-statusbar": "^2.4.2",
"cordova-plugin-stripe": "^1.5.3",
"cordova-plugin-whitelist": "^1.3.3",
"cordova-plugin-x-socialsharing": "^5.4.1",
"es6-promise-plugin": "^4.2.2",
"intl": "^1.2.5",
"ionic-angular": "3.3.0",
"ionic-plugin-keyboard": "^2.2.1",
"ionic2-calendar": "^0.3.9",
"ionicons": "3.0.0",
"moment": "^2.18.1",
"node-sass": "^4.7.2",
"rxjs": "5.1.1",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.11"
},
"devDependencies": {
"@ionic/app-scripts": "^3.2.0",
"ionic": "3.7.0",
"typescript": "^2.4.2"
},
My ionic info:
cli packages:
@ionic/cli-utils : 1.19.0
ionic (Ionic CLI) : 3.19.0
global packages:
cordova (Cordova CLI) : 7.1.0
local packages:
@ionic/app-scripts : 3.2.0
Cordova Platforms : android 6.2.3
Ionic Framework : ionic-angular 3.3.0
System:
Node : v10.9.0
npm : 3.8.7
OS : Windows 10
Is someone know something about this error, i spend 2 days for resolving without solution. Plz help!!!