Function calls are not supported


#1

When i m doing ’ ionic cordova build android --prod --release ’ then i m getting this error

Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing
the function or lambda with a reference to an exported function (position 194:31 in the original .ts file),
resolving symbol NgModule in /home/deepak/Sinilabs/lovelace-mobile-app-admin/node_modules/ngx-
restangular/node_modules/@angular/core/core.d.ts, resolving symbol RestangularModule in
/home/deepak/Sinilabs/lovelace-mobile-app-admin/node_modules/ngx-restangular/dist/esm/src/ngx-
restangular.module.d.ts, resolving symbol RestangularModule in /home/deepak/Sinilabs/lovelace-mobile-
app-admin/node_modules/ngx-restangular/dist/esm/src/ngx-restangular.module.d.ts

#IONIC INFO

cli packages: (/usr/lib/node_modules)

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:

cordova (Cordova CLI) : 8.0.0 

local packages:

@ionic/app-scripts : 3.1.8
Cordova Platforms  : android 7.0.0 browser 5.0.3 ios 4.5.4
Ionic Framework    : ionic-angular 3.9.2

System:

Android SDK Tools : 26.1.1
Node              : v8.9.4
npm               : 6.1.0 
OS                : Linux 4.10

Environment Variables:

ANDROID_HOME : /home/deepak/android_sdk