ngx-smart-modal icon indicating copy to clipboard operation
ngx-smart-modal copied to clipboard

Angular 10 Ivy Issue

Open hypertextdevelopers opened this issue 5 years ago • 2 comments
trafficstars

I'm submitting a ... (check one with "x")

[ ] bug report => search github for a similar issue or PR before submitting
[x ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior

I get this error "This likely means that the library (ngx-smart-modal) which declares NgxSmartModalModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy. " the time I try to run ngx-smart-modal in Angular 10. Expected behavior

Ngx-smart-modal should have support for Angular 10 Reproduction of the problem

What is the motivation / use case for changing the behavior?

Being up to date with Angular versions Please tell us about your environment:

OS Catalina, PHPStorm, Yarn

  • Smart Modal version: 0.8.x
  • Angular version: 2.0.x
  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

all

  • Language: [all | TypeScript X.X | ES6/7 | ES5] all

hypertextdevelopers avatar Oct 19 '20 12:10 hypertextdevelopers

ERROR: node_modules/ngx-smart-modal/src/modules/ngx-smart-modal.module.d.ts:6:23 - error TS2314: Generic type 'ModuleWithProviders<T>' requires 1 type argument(s).

6 static forRoot(): ModuleWithProviders;

node_modules/ngx-smart-modal/src/modules/ngx-smart-modal.module.d.ts:10:24 - error TS2314: Generic type 'ModuleWithProviders<T>' requires 1 type argument(s).

10 static forChild(): ModuleWithProviders;

These are two things I see when trying to build with this dependency. Previous Angular versions didn't require type definition for ModuleWithProviders. Hope this info is helpful for creating an Angular Ivy compatible release.

KiranShakya avatar Oct 20 '20 08:10 KiranShakya

Same problem. Any update when new release will be available for Angular 10?

senzacionale avatar Nov 08 '20 08:11 senzacionale