Angular 13 Support #1193

Closed
opened 2022-01-13 22:35:46 +00:00 by chipallen2 · 3 comments
chipallen2 commented 2022-01-13 22:35:46 +00:00 (Migrated from github.com)

Are there plans to publish a build for Angular 13 with Ivy enabled?

I ask because I have trouble running Jest unit tests requiring this package after the Angular 13 upgrade.

Error is:

Importing FileUploadModule which does not have a ɵmod property

      42 |         }).compileComponents();
      43 |
    > 44 |         fixture = TestBed.createComponent(MyComponentUsingNg2FileUpload);
         |                           ^
      45 |         component = fixture.componentInstance;
      46 |         fixture.detectChanges();
      47 |     });

      at ../node_modules/@angular/core/fesm2015/core.mjs:24027:19
          at Array.forEach (<anonymous>)
      at transitiveScopesFor (../node_modules/@angular/core/fesm2015/core.mjs:24024:32)
      at ../node_modules/@angular/core/fesm2015/core.mjs:24054:35
          at Array.forEach (<anonymous>)
      at transitiveScopesFor (../node_modules/@angular/core/fesm2015/core.mjs:24047:32)
      at setScopeOnDeclaredComponents (../node_modules/@angular/core/fesm2015/core.mjs:23966:30)
      at flushModuleScopingQueueAsMuchAsPossible (../node_modules/@angular/core/fesm2015/core.mjs:23652:21)
      at Function.get (../node_modules/@angular/core/fesm2015/core.mjs:24185:21)
      at TestBedRender3.createComponent (../node_modules/@angular/core/fesm2015/testing.mjs:1756:35)
      at Function.createComponent (../node_modules/@angular/core/fesm2015/testing.mjs:1616:37)
Are there plans to publish a build for Angular 13 with Ivy enabled? I ask because I have trouble running Jest unit tests requiring this package after the Angular 13 upgrade. Error is: ``` Importing FileUploadModule which does not have a ɵmod property 42 | }).compileComponents(); 43 | > 44 | fixture = TestBed.createComponent(MyComponentUsingNg2FileUpload); | ^ 45 | component = fixture.componentInstance; 46 | fixture.detectChanges(); 47 | }); at ../node_modules/@angular/core/fesm2015/core.mjs:24027:19 at Array.forEach (<anonymous>) at transitiveScopesFor (../node_modules/@angular/core/fesm2015/core.mjs:24024:32) at ../node_modules/@angular/core/fesm2015/core.mjs:24054:35 at Array.forEach (<anonymous>) at transitiveScopesFor (../node_modules/@angular/core/fesm2015/core.mjs:24047:32) at setScopeOnDeclaredComponents (../node_modules/@angular/core/fesm2015/core.mjs:23966:30) at flushModuleScopingQueueAsMuchAsPossible (../node_modules/@angular/core/fesm2015/core.mjs:23652:21) at Function.get (../node_modules/@angular/core/fesm2015/core.mjs:24185:21) at TestBedRender3.createComponent (../node_modules/@angular/core/fesm2015/testing.mjs:1756:35) at Function.createComponent (../node_modules/@angular/core/fesm2015/testing.mjs:1616:37) ```
bjornharvold commented 2022-03-24 03:23:23 +00:00 (Migrated from github.com)

Yes please!

Yes please!
Mastermindzh commented 2022-03-25 17:41:26 +00:00 (Migrated from github.com)

I fixed it here: https://github.com/valor-software/ng2-file-upload/pull/1201
If you have a private npm source you can simply take it and publish it as well, that's what we did.

Enjoy!

I fixed it here: https://github.com/valor-software/ng2-file-upload/pull/1201 If you have a private npm source you can simply take it and publish it as well, that's what we did. Enjoy!
Alexander-Sailer commented 2022-04-22 09:19:35 +00:00 (Migrated from github.com)

I fixed it here: #1201 If you have a private npm source you can simply take it and publish it as well, that's what we did.

Enjoy!

Is it possible to make this version downloadable from npm officially?

I would appreciate this really.

> I fixed it here: #1201 If you have a private npm source you can simply take it and publish it as well, that's what we did. > > Enjoy! Is it possible to make this version downloadable from npm officially? I would appreciate this really.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dc/ng2-file-upload#1193