I get an error in Angular when I "npm install ngx-toastr --save"

741 Views Asked by At

I wanted to install the ToastrService but I get an error when installing it.

enter image description here

does anybody know why that happens? I saw, that it might be the angular version. Does anybody know what i could do to resolve that issue?

thx in advance!

~ Max

1

There are 1 best solutions below

0
On

As you are on angular 15, You should install npm i [email protected]. The latest version of toastr aka 17 version support angular 16.

I would recommend you to go through the README of third party package once before installing it.