-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module "@angular/core/index" has no exported member 'Renderer2' #139
Comments
I'm having the same issue, Is there any way we can use the library with angular 2? I can't update to 4 just yet |
Will v0.3.1 work? I can't upgrade either. I just installed the most recent version and I'm having the same issue. |
Sorry, unfortunately this component doesn't support Angular2 anymore. It shouldn't be too hard to fork this & downgrade the package.json to an older version of Angular & fix a couple compiler errors. However, since the majority of users will be upgrading to new versions of Angular, that's probably best left to someone else to maintain. I upgraded to v6 with the latest release without thinking about the repercussions. I'll see how far back I can downgrade to support users of older versions & update the npm package soon, but it'll probably only go back as far as v4, not v2. Closing for now as Angular2.x is no longer supported. |
I am attempting to use this with an angular2 project.
However I am getting the error 'Module "@angular/core/index" has no exported member 'Renderer2'' every time I npm install and include the code.
As per my understanding, Renderer2 is used in Angular4, but I am relatively new to Angular.
Am I doing something wrong, or is there a fix for this issue?
The text was updated successfully, but these errors were encountered: