收到警告消息 "WARNING in Entry point '@nicky-lenaers/ngx-scroll-to' contains deep imports into 'rxjs/index'"

Getting warning message "WARNING in Entry point '@nicky-lenaers/ngx-scroll-to' contains deep imports into 'rxjs/index'"

我正在关注下面提供的文章 URL:

Pluggable Enterprise Application with angular

代码存储库如下: Github Code Repository. This code is written using Angular 7. I decided to add one more plugin which has host as well as windows scrolling in it. For this, I use the module "@nicky-lenaers/ngx-scroll-to”。然后我更改为 Angular 8.0.3 版本。进行这些更改后,当我再次尝试构建我的插件时,我开始收到以下警告:

WARNING in Entry point '@nicky-lenaers/ngx-scroll-to' contains deep imports into 'rxjs/index'. This is probably not a problem, but may cause the compilation of entry points to be out of order

在此警告之后,构建过程立即退出。 请让我知道我错在哪里。

这是 ngx-scroll-to 错误,之前的插件与 angular-8 不兼容,但他们已经对其进行了升级 see here。所以你只需要将软件包更新到最新版本即可。