Solved. Argument of type '{ declara tions: (typeof | typeof | typeof e | type...' is not assignable to parameter of type 'NgModule'


#1

Hi all !

Could anyone suggest please, what I did wrong when I am trying to migrate from Ionic 3 to Ionic 4. I have error TS2345 when build application.

ERROR in src/app/app.module.ts(171,3): error TS2345: Argument of type ‘{ declara
tions: (typeof ContentPage | typeof ClipboardModalWindow | typeof ModelSearchPag
e | type…’ is not assignable to parameter of type ‘NgModule’.
Object literal may only specify known properties, and ‘services’ does not exis
t in type ‘NgModule’.


#2

Well, I would start my search on line 171 of app.module.ts.


#3

I’m getting this same error now after installing native file transfer. Did you find out what the issue was?