uploadcare / ngx-uploadcare-widget

Angular 2+ wrapper for Uploadcare Widget
MIT License
15 stars 10 forks source link

angular 9 issue with ivy #43

Closed yaacov1974 closed 4 years ago

yaacov1974 commented 4 years ago

hello im getting this error -

ERROR in node_modules/ngx-uploadcare-widget/release/ucWidget/ucWidget.module.d.ts:1:22 - error NG6002: Appears in the NgModule.imports of SettingModule, but could not be resolved to an NgModule class.

This likely means that the library (ngx-uploadcare-widget) which declares UcWidgetModule 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.

1 export declare class UcWidgetModule {


node_modules/ngx-uploadcare-widget/release/ucWidget/ucWidget.module.d.ts:1:22 - error NG6002: Appears in the NgModule.imports of ContactModule, but could not be resolved to an NgModule class.

This likely means that the library (ngx-uploadcare-widget) which declares UcWidgetModule 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.

1 export declare class UcWidgetModule {
nd0ut commented 4 years ago

Hello! Can you tell me which version you're using? Version 2.x should work with Ivy. Please check https://github.com/uploadcare/ngx-uploadcare-widget/issues/37

yaacov1974 commented 4 years ago

hi , i did npm install uploadcare-widget

‫בתאריך יום ד׳, 29 באפר׳ 2020 ב-14:55 מאת ‪Aleksandr Grenishin‬‏ <‪ notifications@github.com‬‏>:‬

Hello! Can you tell me which version you're using? Version 2.x should work with Ivy. Please check #37 https://github.com/uploadcare/ngx-uploadcare-widget/issues/37

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/uploadcare/ngx-uploadcare-widget/issues/43#issuecomment-621154762, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGZT3C2G6GVEAR3M53QI7N3RPAIRJANCNFSM4MTUD3WQ .

yaacov1974 commented 4 years ago

now i see im on v3 ... how can i change it to v2 ?

‫בתאריך יום ד׳, 29 באפר׳ 2020 ב-15:07 מאת ‪yaacov zur‬‏ <‪ yaacov.zur@gmail.com‬‏>:‬

hi , i did npm install uploadcare-widget

‫בתאריך יום ד׳, 29 באפר׳ 2020 ב-14:55 מאת ‪Aleksandr Grenishin‬‏ <‪ notifications@github.com‬‏>:‬

Hello! Can you tell me which version you're using? Version 2.x should work with Ivy. Please check #37 https://github.com/uploadcare/ngx-uploadcare-widget/issues/37

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/uploadcare/ngx-uploadcare-widget/issues/43#issuecomment-621154762, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGZT3C2G6GVEAR3M53QI7N3RPAIRJANCNFSM4MTUD3WQ .

nd0ut commented 4 years ago

You need to install ngx-uploadcare-widget, not uploadcare-widget So I meant 2.x of ngx-uploadcare-widget, and uploadcare-widget will be 3.x - that's okay

yaacov1974 commented 4 years ago

great , thanks

‫בתאריך יום ד׳, 29 באפר׳ 2020 ב-15:31 מאת ‪Aleksandr Grenishin‬‏ <‪ notifications@github.com‬‏>:‬

You need to install ngx-uploadcare-widget, not uploadcare-widget

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/uploadcare/ngx-uploadcare-widget/issues/43#issuecomment-621172534, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGZT3C76ASHW34Z6ES7YVT3RPAM33ANCNFSM4MTUD3WQ .