alEX860111 / ngx-formly-material-file

2 stars 5 forks source link

error NG1010: Value at position 6 in the NgModule.imports of FileTypeModule is not a reference #3

Open its-dibo opened 4 years ago

its-dibo commented 4 years ago

using Angular9 (Ivy enabled) got this error

Error: Failed to compile entry-point ngx-formly-material-file (es2015 as esm2015) due to compilation errors:
node_modules/ngx-formly-material-file/fesm2015/ngx-formly-material-file.js:1331:26 - error NG1010: Value at position 6 in the NgModule.imports of FileTypeModule is not a
reference: [object Object]

1331                 imports: [
                              ~
1332                     CommonModule,
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ...
1340                     MatFormFieldModule
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1341                 ],
     ~~~~~~~~~~~~~~~~~
luisfarfan commented 4 years ago

same

dannygoncalves commented 3 years ago

I have a similar issue, using matButtonModule which is imported by another project, has anyone figured out what's the actual cause of this? disabling ivy doesn't seem like a good solution and actually triggers a lot more errors

FirasSahli2010 commented 1 year ago

I have the same issue, did anybody find a solution