Error while running ionic android build --prod --release (@ionic-native/core/decorators.d.ts, found version 4, expected 3)

i used this link https://update.ionic.zone/.
but new problem arrived HttpClient.
I created a new topic HttpHeaders problem in providers.
I tried but not solved.
I am sorry to disturbing you many times.

1 Like

Boss Thank you so much.

I had the same issues. Your ionic/core module is wanting Angular 5, which will have “metadata” version of 4.

You can upgrade to ionic 3.9.2 and angular 5.2.11 (worked for me), better option.
Or downgrade the ionic core module to one that wants angular 4.

This has nothing to do with the cordova version, its the angular compiler (ngc)