sweetalert2 / ngx-sweetalert2

Declarative, reactive, and template-driven SweetAlert2 integration for Angular
MIT License
652 stars 94 forks source link

Compilation errors after last update - Angular 15 #246

Open CatInDaBin opened 1 year ago

CatInDaBin commented 1 year ago

Hey there

I'm getting these and few more errors after updating on the last version and downgrading ain't helping either. Anyone had this problem?

image

johngela commented 1 year ago

I have the same issue. It's working fine on my local but when building for production on my pipeline, these error occurs.

porkerA10 commented 1 year ago

I got the error after an npm update while using Angular 15.2.9. My package.json dependency was specified with the caret as "@sweetalert2/ngx-sweetalert2": "^12.1.0" and the update took me to 12.2.0, which seemed to cause the break. To fix it I downgraded and specified the exact version "@sweetalert2/ngx-sweetalert2": "12.1.0"

LasindaDilshan commented 1 year ago

i also got error in compile time . (Angular version ^15.2.0)

tahitiangabriel commented 1 year ago

I got the error after an npm update while using Angular 15.2.9. My package.json dependency was specified with the caret as "@sweetalert2/ngx-sweetalert2": "^12.1.0" and the update took me to 12.2.0, which seemed to cause the break. To fix it I downgraded and specified the exact version "@sweetalert2/ngx-sweetalert2": "12.1.0"

Thank you you save my day!

Ru117 commented 12 months ago

Downgrade to this version:

npm i sweetalert2 @sweetalert2/ngx-sweetalert2@12.0.1

woeterman94 commented 6 months ago

Any fix for this? Pretty please

kvyeap commented 6 days ago

Downgrade to this version:

npm i sweetalert2 @sweetalert2/ngx-sweetalert2@12.0.1

Life saver, cheers