You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 13, 2021. It is now read-only.
ERROR in node_modules/saturn-datepicker/datepicker/datepicker.d.ts(12,20): error TS2305: Module '"C:/Users/sandeepkumar.g/Desktop/nodebook/bot-plateform2/bot_platform-fe
/node_modules/@angular/material/core"' has no exported member 'CanColorCtor'.
node_modules/saturn-datepicker/datepicker/datepicker.d.ts(42,22): error TS2420: Class 'SatDatepickerContent<D>' incorrectly implements interface 'CanColor'.
Property 'color' is missing in type 'SatDatepickerContent<D>'.
I am using angular 6 and getting this error, which also fails build. I removed and reinstalled node_module but no success. Please advice.
Hi 007,
Your versions seem a bit odd to me at the first glance. Try upgrading angular to 7.x and upgrading material as well. Saturn datepicker is on 7.x in your package.json and your material (and other angular libs, besides cdk, are on 6.x), it is a major version so it potentially could break things.
If this does not resolve the problem, please provide the html/ts code which uses the datepicker.
I am using angular 6 and getting this error, which also fails build. I removed and reinstalled node_module but no success. Please advice.
Package.json
The text was updated successfully, but these errors were encountered: