Error TS6200: Definitions of some identifiers conflict

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
claudiuconstantin
Posts: 1
Joined: 13 Feb 2020, 11:49

14 Feb 2020, 17:26

Later edit: this only happens when using Yarn instead of npm

On a fresh copy of Paradise CLI app I am getting an error when doing a ng serve. What could be the reason and resolution?

Code: Select all

ERROR in node_modules/@fullcalendar/daygrid/main.d.ts(1,1): error TS6200: Definitions of the following identifiers conflict with those in another file: SimpleDayGrid, DayGridSlicer, DayGrid, DayGridSeg, AbstractDayGridView, DayGridView, buildBasicDayTable, DayBgRow, _default, default, Popover, DayGridEventRenderer, DayTile, DayTileEventRenderer, SimpleDayGridEventRenderer
node_modules/@fullcalendar/timegrid/node_modules/@fullcalendar/daygrid/main.d.ts(5,1): error TS6200: Definitions of the following identifiers conflict with those in another file: SimpleDayGrid, DayGridSlicer, DayGrid, DayGridSeg, AbstractDayGridView, DayGridView, buildBasicDayTable, DayBgRow, _default, default, Popover, DayGridEventRenderer, DayTile, DayTileEventRenderer, SimpleDayGridEventRenderer
node_modules/@fullcalendar/timegrid/node_modules/@fullcalendar/daygrid/main.d.ts(37,9): error TS2416: Property 'render' in type 'SimpleDayGrid' is not assignable to the same property in base type 'DateComponent<SimpleDayGridProps>'.
  Type '(props: SimpleDayGridProps, context: ComponentContext) => void' is not assignable to type '(props: SimpleDayGridProps) => void'.
node_modules/@fullcalendar/timegrid/node_modules/@fullcalendar/daygrid/main.d.ts(52,9): error TS2717: Subsequent property declarations must have the same type.  Property 'renderNumberIntroHtml' must be of type '(row: number, dayGrid: DayGrid) => string', but here has type '(row: number, dayGrid: DayGrid) => string'.
node_modules/@fullcalendar/timegrid/node_modules/@fullcalendar/daygrid/main.d.ts(94,9): error TS2416: Property 'render' in type 'DayGrid' is not assignable to the same property in base type 'DateComponent<DayGridProps>'.
  Type '(props: DayGridProps, context: ComponentContext) => void' is not assignable to type '(props: DayGridProps) => void'.
node_modules/@fullcalendar/timegrid/node_modules/@fullcalendar/daygrid/main.d.ts(160,9): error TS2416: Property 'render' in type 'AbstractDayGridView' is not assignable to the same property in base type 'View'.   
  Type '(props: ViewProps, context: ComponentContext) => void' is not assignable to type '(props: ViewProps) => void'.
node_modules/@fullcalendar/timegrid/node_modules/@fullcalendar/daygrid/main.d.ts(194,9): error TS2416: Property 'render' in type 'DayGridView' is not assignable to the same property in base type 'DayGridView'.    
  Type '(props: ViewProps, context: ComponentContext) => void' is not assignable to type '(props: ViewProps) => void'.
node_modules/@fullcalendar/timegrid/node_modules/@fullcalendar/daygrid/main.d.ts(289,9): error TS2416: Property 'render' in type 'DayTile' is not assignable to the same property in base type 'DateComponent<DayTileProps>'.
  Type '(props: DayTileProps, context: ComponentContext) => void' is not assignable to type '(props: DayTileProps) => void'.

merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

21 Feb 2020, 09:34

Hi,
We will check and get back to you.

Post Reply

Return to “Paradise - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest