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
After installing this package, when I, include their configuration in App.module and run the app, I am getting this error:
ERROR in ./node_modules/@iomechs/angular-year-calendar/fesm2015/iomechs-angular-year-calendar.js
Module not found: Error: Can't resolve 'date-fns' in '/home/mquanit/Documents/Projects/Angular Typescript Practice/shiny-ivy-app/node_modules/@iomechs/angular-year-calendar/fesm2015'
before that, i am also getting this error:
ERROR in node_modules/@iomechs/angular-year-calendar/lib/components/year-calendar/year-calendar.component.d.ts:4:34 - error TS2307: Cannot find module '@angular/cdk/overlay'.
4 import { CdkOverlayOrigin } from '@angular/cdk/overlay';
ERROR in @iomechs/angular-year-calendar/iomechs-angular-year-calendar.ts(18,5): Error during template compile of 'YearCalendarModule'
Could not resolve @angular/cdk/overlay relative to [object Object]..
There is no directive with "exportAs" set to "cdkOverlayOrigin" ("_body__month__inner__week__day {{ycConfig?.dayClass}}"
cdkOverlayOrigin
[ERROR ->]#heatMapEventDayTrigger="cdkOverlayOrigin"
(click)="eventDayCick(day, heatMapEventDayTr")
but I solved it by doing yarn add @angular/cdk/overlay, but now I am getting the above issue, which is related to date-fns i guess.
The text was updated successfully, but these errors were encountered:
@mohammad-quanit thanks for reporting the issue 👍
I'm looking into fixing the date-fns issue. I know why it's happening. Should be fixed with the next release.
Regarding the heat map color directive, can you please open a new issue with details to what you've tried and what seems to be the issue?
Thanks!
@mohammad-quanit , I've added the dependencies to peerDependencies. If you install the latest release 0.1.5. you'll see warnings about those if they're not installed.
After installing this package, when I, include their configuration in App.module and run the app, I am getting this error:
before that, i am also getting this error:
but I solved it by doing
yarn add @angular/cdk/overlay
, but now I am getting the above issue, which is related to date-fns i guess.The text was updated successfully, but these errors were encountered: