ngx-embed-video icon indicating copy to clipboard operation
ngx-embed-video copied to clipboard

Upgrading to Angular 8

Open Abdulrahmanh995 opened this issue 5 years ago • 17 comments

I am trying to upgrade to Angular 8 but received the following warnings:

Package "ngx-embed-video" has an incompatible peer dependency to "@angular/common" (requires "^6.0.0" (extended), would install "8.0.0").
Package "ngx-embed-video" has an incompatible peer dependency to "@angular/core" (requires "^6.0.0" (extended), would install "8.0.0").

Abdulrahmanh995 avatar Jun 07 '19 07:06 Abdulrahmanh995

I would like to update to Angular 8 too and this holds me back for the moment.

AdrianSima avatar Jul 17 '19 13:07 AdrianSima

@AdrianSima

You can get the service code from the repository.

Create your own project service for video embedding.

Fix what it needs for Angular 8 upgrading and continue working.

Abdulrahmanh995 avatar Jul 27 '19 14:07 Abdulrahmanh995

Can you please share the migration result? Any idea when the library will be compatible with Angular 8? @AdrianSima Can you please share your fix?

Eraldo avatar Aug 15 '19 15:08 Eraldo

very interested in getting this library upgraded to Angular 8 too.

zkBounty avatar Aug 24 '19 02:08 zkBounty

Is this still an actively supported project? I.e. would also love to see an "official" release to support Angular v8.

tomwanzek avatar Aug 28 '19 18:08 tomwanzek

@Eraldo I've removed the package, updated Angular to latest, then re-added the package functionality as a Service by copying the code from src/embed-video-service.ts as suggested by Abdulrahmanh95

edit: If you want to keep it the same as the package, like a module, then you will also need the code from index.ts. Don't forget to update the paths to where you've created your service/module files.

The package has MIT license, so it shouldn't be any problem.

AdrianSima avatar Aug 29 '19 11:08 AdrianSima

Do you mind doing this in the library itself and merging Adrian? That way we can keep getting updates and improvements down the road.

zkBounty avatar Aug 29 '19 20:08 zkBounty

Remove the package, upgrade to Angular 8, readd the package. Works fine.

If anyone experiences an issue with Angular 8, imo the solution would be to create a pull-request here instead of creating yet another library. I would have done it myself, but the upgrade-process worked fine.

observant2 avatar Oct 10 '19 11:10 observant2

come on, guys, 5 contributors, used by 372 other packages, and no one is able to do a basic upgrade to the latest version of Angular, ^8.x.x? If this package is not actively supported anymore, please add a proper message saying it is discontinued. @SamirHodzic @lordoliver @hnipps @danconte72 @Nightbr

Mallfurion avatar Dec 11 '19 12:12 Mallfurion

come on, guys, 5 contributors, used by 372 other packages, and no one is able to do a basic upgrade to the latest version of Angular, ^8.x.x? If this package is not actively supported anymore, please add a proper message saying it is discontinued.

do a fork, do the upgrade and submit a pull request

danconte72 avatar Dec 11 '19 13:12 danconte72

that's your job, not mine :)

Mallfurion avatar Dec 13 '19 13:12 Mallfurion

It's not a "job" like you call it because you don't pay us (or am I missing something?!).

Please refer to what a job is and what an Open Source Software is.

Nightbr avatar Dec 13 '19 14:12 Nightbr

that's your job, not mine :)

i like u funny guy

danconte72 avatar Dec 13 '19 18:12 danconte72

@danconte72 Can you check my pull request please.

Abdulrahmanh995 avatar Dec 13 '19 20:12 Abdulrahmanh995

@Abdulrahmanh95 tnx for your PR, appreciate

Mallfurion avatar Dec 14 '19 10:12 Mallfurion

@Mallfurion It is a good package and very helpful. Are you planning to merge @Abdulrahmanh95 PR in the near future?

Pulkit-inn avatar Feb 13 '20 10:02 Pulkit-inn

Simply remove the package out of your package.json and you can add it back in later after upgrading is completed. Hope it has helped.

hbweb avatar Jul 15 '20 08:07 hbweb