Open AdGalesso opened 7 years ago
this lib seems to be dead =/
Yeah, that's sad... I loaded into the project directly, The problem was in the getRootViewContainer() method. I fixed...
getRootViewContainer(): ComponentRef<any> {
if (this._container) return this._container;
const rootComponents = this.applicationRef.components[0];
if (rootComponents) return rootComponents;
throw new Error('View Container not found! ngUpgrade needs to manually set this via setRootViewContainer.');
}
Now I can update to 5.0,1 \o/
I forked the project, and updated it to Angular 5. You can get it here: https://github.com/turbo-team/turbo-notify-popup https://www.npmjs.com/package/turbo-notify-popup
I haven't checked against Angular 6, but this is in plans :)
Are you going to update to Angular 5?