Skip to content
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

problem with renderer in ./node_modules/ng2-jalali-date-picker/__ivy_ngcc__/ng2-jalali-date-picker.js #146

Open
fatemesbati opened this issue Sep 15, 2021 · 2 comments

Comments

@fatemesbati
Copy link

fatemesbati commented Sep 15, 2021

hey everybody, actually i have problem to use ng2-jalali-date-picker because of renderer which is imported from @angular/core in this path ---> ./node_modules/ng2-jalali-date-picker/ivy_ngcc/ng2-jalali-date-picker.js .
as angular said https://angular.io/guide/migration-renderer#Why%20should%20I%20migrate%20to%20Renderer2?
renderer is deprecated and we have to use renderer2, which is not considered in latest version but in 2.4.2 is ok.

@jalalh14
Copy link
Collaborator

problem with angular 12:
Error: node_modules/ng2-jalali-date-picker/date-picker/date-picker.component.d.ts:16:100 - error TS2724: '"@angular/core"' has no exported member named 'Renderer'. Did you mean 'Renderer2'?

@jalalh14
Copy link
Collaborator

The problem is solved in source code but it has not been built prod, and the bin folder has not been published to npm. Please publish bin folder to npm after build:prod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants