Enngage / ngx-paypal

Paypal integration for Angular
https://enngage.github.io/ngx-paypal/
MIT License
185 stars 68 forks source link

Migration from Angular 12 to 14/15 - stops working #232

Closed maxima120 closed 1 year ago

maxima120 commented 1 year ago

While updating ng update @angular/core@15 @angular/cli@15 there is error and the update fails.

× Migration failed: Incompatible peer dependencies found. 
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.
See "C:\Temp\ng-uckzor\angular-errors.log" for further details. 

I used ng update @angular/core@15 @angular/cli@15 --force instead to avoid the error

However while running ng serve I get this error:

Processing legacy "View Engine" libraries:
- ngx-paypal [es2015/esm2015] (https://github.com/Enngage/ngx-paypal)
Encourage the library authors to publish an Ivy distribution.

The website cannot use ngx-paypal - the pop-up window has endless waiting icon spinning and there are number of errors in the console.

Could you please publish ngx-paypal for Angular 14 and 15 ?

maxima120 commented 1 year ago

ngx-paypal upgrade stuck for some reason. once i did npm install ngx-paypal@latest -save again the errors went away