Publishing ionic app - Error - Calling function 'makeDecorator', function calls are not supported

I’m trying to publish my ionic application using the following command line :

ionic cordova build android --release --prod

but I encountred the following problem :

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 D:/projet/node_modules/@cloudinary/angular/node_modules/@angular/core/src/di/metadata.d.ts, resolving symbol OpaqueToken in D:/projet/node_modules/@cloudinary/angular/node_modules/@angular/core/src/di/opaque_token.d.ts, resolving symbol OpaqueToken in D:/projet/node_modules/@cloudinary/angular/node_modules/@angular/core/src/di/opaque_token.d.ts

PS: I’m using cloudinary API to get images from the could.
Can anyone help.

What is your ionic info output?

@ionic/cli-utils  : 1.9.2
    ionic (Ionic CLI) : 3.9.2

global packages:

    Cordova CLI : 7.0.1

local packages:

    @ionic/app-scripts : 2.1.3
    Cordova Platforms  : android 6.2.3
    Ionic Framework    : ionic-angular 3.6.0

System:

    Node : v6.11.1
    npm  : 5.3.0
    OS   : Windows 10```

You should update this.

What is your projects Angular version?
What Angular version is Cloudinary using?

I already updated

@ionic/app-scripts : 2.1.3

for Angular version, it is : 4.1.3
for Angular version which Cloudinary is using : 2.1.3