简体   繁体   English

我无法在 Angular 中安装 sweetalert2

[英]I can't install sweetalert2 in Angular

enter image description here在此处输入图像描述

This issue.这个问题。 Can you help me?你能帮助我吗?

I tried other installation instructions.我尝试了其他安装说明。 I tried them all but couldn't find the solution.我尝试了所有但找不到解决方案。

enter image description here在此处输入图像描述

It seems to be a problem with the package ngx-spinner and not with sweetalert2 .这似乎是包ngx-spinner的问题,而不是sweetalert2的问题。 The error message tells you that ngx-spinner is not supporting Angular 15. So you can downgrade your angular version.错误消息告诉您ngx-spinner不支持 Angular 15。因此您可以降级您的角度版本。 Replacing ngx-spinner or waiting for an update for ngx-spinner .更换ngx-spinner或等待ngx-spinner -spinner 的更新。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM