UltimaNG 9.0.0 - FullCalendar error

Post Reply
centai
Posts: 62
Joined: 22 Mar 2012, 12:58

31 Mar 2020, 14:44

When I download UltimaNG 9.0.0 and I install the packages and run "ng serve --aot"

I get the following error:

Code: Select all

C:\Sourcecode\ultima-ng-9.0.0>ng serve --aot
Your global Angular CLI version (9.0.7) is greater than your local
version (9.0.4). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".
0% compiling
Compiling @angular/core : es2015 as esm2015

Compiling @angular/common : es2015 as esm2015

Compiling @angular/platform-browser : es2015 as esm2015

Compiling @angular/platform-browser-dynamic : es2015 as esm2015

Compiling @angular/forms : es2015 as esm2015

Compiling @angular/common/http : es2015 as esm2015

Compiling @angular/animations : es2015 as esm2015

Compiling @angular/animations/browser : es2015 as esm2015

Compiling @angular/platform-browser/animations : es2015 as esm2015

Compiling primeng/api : es2015 as esm2015

Compiling primeng/accordion : es2015 as esm2015

Compiling primeng/inputtext : es2015 as esm2015

Compiling primeng/dom : es2015 as esm2015

Compiling primeng/button : es2015 as esm2015

Compiling primeng/utils : es2015 as esm2015

Compiling primeng/autocomplete : es2015 as esm2015

Compiling @angular/router : es2015 as esm2015

Compiling primeng/breadcrumb : es2015 as esm2015

Compiling primeng/calendar : es2015 as esm2015

Compiling primeng/card : es2015 as esm2015

Compiling primeng/carousel : es2015 as esm2015

Compiling primeng/chart : es2015 as esm2015

Compiling primeng/checkbox : es2015 as esm2015

Compiling primeng/chips : es2015 as esm2015

Compiling primeng/codehighlighter : es2015 as esm2015

Compiling primeng/confirmdialog : es2015 as esm2015

Compiling primeng/colorpicker : es2015 as esm2015

Compiling primeng/contextmenu : es2015 as esm2015

Compiling @angular/cdk/platform : es2015 as esm2015

Compiling @angular/cdk/bidi : es2015 as esm2015

Compiling @angular/cdk/collections : es2015 as esm2015

Compiling @angular/cdk/scrolling : es2015 as esm2015

Compiling primeng/tooltip : es2015 as esm2015

Compiling primeng/dropdown : es2015 as esm2015

Compiling primeng/paginator : es2015 as esm2015

Compiling primeng/dataview : es2015 as esm2015

Compiling primeng/dialog : es2015 as esm2015

Compiling primeng/editor : es2015 as esm2015

Compiling primeng/fieldset : es2015 as esm2015

Compiling primeng/messages : es2015 as esm2015

Compiling primeng/progressbar : es2015 as esm2015

Compiling primeng/fileupload : es2015 as esm2015

Compiling primeng/fullcalendar : es2015 as esm2015

Compiling primeng/galleria : es2015 as esm2015

Compiling primeng/inplace : es2015 as esm2015

Compiling primeng/inputmask : es2015 as esm2015

Compiling primeng/inputswitch : es2015 as esm2015

Compiling primeng/inputtextarea : es2015 as esm2015

Compiling primeng/lightbox : es2015 as esm2015

Compiling primeng/listbox : es2015 as esm2015

Compiling primeng/megamenu : es2015 as esm2015

Compiling primeng/menu : es2015 as esm2015

Compiling primeng/menubar : es2015 as esm2015

Compiling primeng/message : es2015 as esm2015

Compiling primeng/multiselect : es2015 as esm2015

Compiling primeng/orderlist : es2015 as esm2015

Compiling primeng/organizationchart : es2015 as esm2015

Compiling primeng/overlaypanel : es2015 as esm2015

Compiling primeng/panel : es2015 as esm2015

Compiling primeng/panelmenu : es2015 as esm2015

Compiling primeng/password : es2015 as esm2015

Compiling primeng/picklist : es2015 as esm2015

Compiling primeng/radiobutton : es2015 as esm2015

Compiling primeng/rating : es2015 as esm2015

Compiling primeng/scrollpanel : es2015 as esm2015

Compiling primeng/selectbutton : es2015 as esm2015

Compiling primeng/slidemenu : es2015 as esm2015

Compiling primeng/slider : es2015 as esm2015

Compiling primeng/spinner : es2015 as esm2015

Compiling primeng/splitbutton : es2015 as esm2015

Compiling primeng/steps : es2015 as esm2015

Compiling primeng/tabmenu : es2015 as esm2015

Compiling primeng/table : es2015 as esm2015

Compiling primeng/tabview : es2015 as esm2015

Compiling primeng/terminal : es2015 as esm2015

Compiling primeng/tieredmenu : es2015 as esm2015

Compiling primeng/toast : es2015 as esm2015

Compiling primeng/togglebutton : es2015 as esm2015

Compiling primeng/toolbar : es2015 as esm2015

Compiling primeng/tree : es2015 as esm2015

Compiling primeng/treetable : es2015 as esm2015

Compiling primeng/virtualscroller : es2015 as esm2015

Compiling primeng/blockui : es2015 as esm2015

Compiling primeng/captcha : es2015 as esm2015

Compiling primeng/defer : es2015 as esm2015

Compiling primeng/dragdrop : es2015 as esm2015

Compiling primeng/dynamicdialog : es2015 as esm2015

Compiling primeng/focustrap : es2015 as esm2015

Compiling primeng/gmap : es2015 as esm2015

Compiling primeng/keyfilter : es2015 as esm2015

Compiling primeng/progressspinner : es2015 as esm2015

Compiling primeng/sidebar : es2015 as esm2015

Compiling primeng/tristatecheckbox : es2015 as esm2015

Compiling primeng : es2015 as esm2015

chunk {main} main.js, main.js.map (main) 1.99 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 675 bytes [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {scripts} scripts.js, scripts.js.map (scripts) 1.4 MB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 388 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 340 kB [initial] [rendered]
Date: 2020-03-31T12:42:43.042Z - Hash: 45029eadead12c2a4ce0 - Time: 157295ms

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

1 declare module "@fullcalendar/daygrid/DayGridDateProfileGenerator" {
  ~~~~~~~

  node_modules/@fullcalendar/timegrid/node_modules/@fullcalendar/daygrid/main.d.ts:5:1
    5 declare module '@fullcalendar/daygrid' {
      ~~~~~~~
    Conflicts are in this file.
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

5 declare module '@fullcalendar/daygrid' {
  ~~~~~~~

  node_modules/@fullcalendar/daygrid/main.d.ts:1:1
    1 declare module "@fullcalendar/daygrid/DayGridDateProfileGenerator" {
      ~~~~~~~
    Conflicts are in this file.
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'.

37         render(props: SimpleDayGridProps, context: ComponentContext): 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'.

52         renderNumberIntroHtml: (row: number, dayGrid: DayGrid) => string;
           ~~~~~~~~~~~~~~~~~~~~~

  node_modules/@fullcalendar/daygrid/main.d.ts:158:9
    158         renderNumberIntroHtml: (row: number, dayGrid: DayGrid) => string;
                ~~~~~~~~~~~~~~~~~~~~~
    'renderNumberIntroHtml' was also declared here.
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'.

94         render(props: DayGridProps, context: ComponentContext): 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'.

160         render(props: ViewProps, context: ComponentContext): void;
            ~~~~~~
node_modules/@fullcalendar/timegrid/node_modules/@fullcalendar/daygrid/main.d.ts:194:9 - 1merror 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'.

194         render(props: ViewProps, context: ComponentContext): 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'.

289         render(props: DayTileProps, context: ComponentContext): void;
            ~~~~~~

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
70% building 497/497 modules 0 active    
    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
    
    1 declare module "@fullcalendar/daygrid/DayGridDateProfileGenerator" {
      ~~~~~~~
    
      node_modules/@fullcalendar/timegrid/node_modules/@fullcalendar/daygrid/main.d.ts:5:1
        5 declare module '@fullcalendar/daygrid' {
          ~~~~~~~
        Conflicts are in this file.
    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
    
    5 declare module '@fullcalendar/daygrid' {
      ~~~~~~~
    
      node_modules/@fullcalendar/daygrid/main.d.ts:1:1
        1 declare module "@fullcalendar/daygrid/DayGridDateProfileGenerator" {
          ~~~~~~~
        Conflicts are in this file.
    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'.
    
    37         render(props: SimpleDayGridProps, context: ComponentContext): 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'.
    
    52         renderNumberIntroHtml: (row: number, dayGrid: DayGrid) => string;
               ~~~~~~~~~~~~~~~~~~~~~
    
      node_modules/@fullcalendar/daygrid/main.d.ts:158:9
        158         renderNumberIntroHtml: (row: number, dayGrid: DayGrid) => string;
                    ~~~~~~~~~~~~~~~~~~~~~
        'renderNumberIntroHtml' was also declared here.
    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'.
    
    94         render(props: DayGridProps, context: ComponentContext): 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'.
    
    160         render(props: ViewProps, context: ComponentContext): 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'.
    
    194         render(props: ViewProps, context: ComponentContext): 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'.
    
    289         render(props: DayTileProps, context: ComponentContext): void;
                ~~~~~~
    

Date: 2020-03-31T12:42:50.641Z - Hash: 9815de2b42295dd050d6
3 unchanged chunks
chunk {main} main.js, main.js.map (main) 1.16 MB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 187 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 8.41 MB [initial] [rendered]
Time: 6906ms
: Compiled successfully.


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

06 Apr 2020, 14:22

Hi,
We tried your case but it works;

Code: Select all

PrimeTeam$  ng serve --aot
0% compiling
Compiling @angular/core : es2015 as esm2015

Compiling @angular/common : es2015 as esm2015

Compiling @angular/platform-browser : es2015 as esm2015

Compiling @angular/platform-browser-dynamic : es2015 as esm2015

Compiling @angular/forms : es2015 as esm2015

Compiling @angular/common/http : es2015 as esm2015

Compiling @angular/animations : es2015 as esm2015

Compiling @angular/animations/browser : es2015 as esm2015

Compiling @angular/platform-browser/animations : es2015 as esm2015

Compiling primeng/api : es2015 as esm2015

Compiling primeng/accordion : es2015 as esm2015

Compiling primeng/inputtext : es2015 as esm2015

Compiling primeng/dom : es2015 as esm2015

Compiling primeng/button : es2015 as esm2015

Compiling primeng/utils : es2015 as esm2015

Compiling primeng/autocomplete : es2015 as esm2015

Compiling @angular/router : es2015 as esm2015

Compiling primeng/breadcrumb : es2015 as esm2015

Compiling primeng/calendar : es2015 as esm2015

Compiling primeng/card : es2015 as esm2015

Compiling primeng/carousel : es2015 as esm2015

Compiling primeng/chart : es2015 as esm2015

Compiling primeng/checkbox : es2015 as esm2015

Compiling primeng/chips : es2015 as esm2015

Compiling primeng/codehighlighter : es2015 as esm2015

Compiling primeng/confirmdialog : es2015 as esm2015

Compiling primeng/colorpicker : es2015 as esm2015

Compiling primeng/contextmenu : es2015 as esm2015

Compiling @angular/cdk/platform : es2015 as esm2015

Compiling @angular/cdk/bidi : es2015 as esm2015

Compiling @angular/cdk/collections : es2015 as esm2015

Compiling @angular/cdk/scrolling : es2015 as esm2015

Compiling primeng/tooltip : es2015 as esm2015

Compiling primeng/dropdown : es2015 as esm2015

Compiling primeng/paginator : es2015 as esm2015

Compiling primeng/dataview : es2015 as esm2015

Compiling primeng/dialog : es2015 as esm2015

Compiling primeng/editor : es2015 as esm2015

Compiling primeng/fieldset : es2015 as esm2015

Compiling primeng/messages : es2015 as esm2015

Compiling primeng/progressbar : es2015 as esm2015

Compiling primeng/fileupload : es2015 as esm2015

Compiling primeng/fullcalendar : es2015 as esm2015

Compiling primeng/galleria : es2015 as esm2015

Compiling primeng/inplace : es2015 as esm2015

Compiling primeng/inputmask : es2015 as esm2015

Compiling primeng/inputswitch : es2015 as esm2015

Compiling primeng/inputtextarea : es2015 as esm2015

Compiling primeng/lightbox : es2015 as esm2015

Compiling primeng/listbox : es2015 as esm2015

Compiling primeng/megamenu : es2015 as esm2015

Compiling primeng/menu : es2015 as esm2015

Compiling primeng/menubar : es2015 as esm2015

Compiling primeng/message : es2015 as esm2015

Compiling primeng/multiselect : es2015 as esm2015

Compiling primeng/orderlist : es2015 as esm2015

Compiling primeng/organizationchart : es2015 as esm2015

Compiling primeng/overlaypanel : es2015 as esm2015

Compiling primeng/panel : es2015 as esm2015

Compiling primeng/panelmenu : es2015 as esm2015

Compiling primeng/password : es2015 as esm2015

Compiling primeng/picklist : es2015 as esm2015

Compiling primeng/radiobutton : es2015 as esm2015

Compiling primeng/rating : es2015 as esm2015

Compiling primeng/scrollpanel : es2015 as esm2015

Compiling primeng/selectbutton : es2015 as esm2015

Compiling primeng/slidemenu : es2015 as esm2015

Compiling primeng/slider : es2015 as esm2015

Compiling primeng/spinner : es2015 as esm2015

Compiling primeng/splitbutton : es2015 as esm2015

Compiling primeng/steps : es2015 as esm2015

Compiling primeng/tabmenu : es2015 as esm2015

Compiling primeng/table : es2015 as esm2015

Compiling primeng/tabview : es2015 as esm2015

Compiling primeng/terminal : es2015 as esm2015

Compiling primeng/tieredmenu : es2015 as esm2015

Compiling primeng/toast : es2015 as esm2015

Compiling primeng/togglebutton : es2015 as esm2015

Compiling primeng/toolbar : es2015 as esm2015

Compiling primeng/tree : es2015 as esm2015

Compiling primeng/treetable : es2015 as esm2015

Compiling primeng/virtualscroller : es2015 as esm2015

Compiling primeng/blockui : es2015 as esm2015

Compiling primeng/captcha : es2015 as esm2015

Compiling primeng/defer : es2015 as esm2015

Compiling primeng/dragdrop : es2015 as esm2015

Compiling primeng/dynamicdialog : es2015 as esm2015

Compiling primeng/focustrap : es2015 as esm2015

Compiling primeng/gmap : es2015 as esm2015

Compiling primeng/keyfilter : es2015 as esm2015

Compiling primeng/progressspinner : es2015 as esm2015

Compiling primeng/sidebar : es2015 as esm2015

Compiling primeng/tristatecheckbox : es2015 as esm2015

Compiling primeng : es2015 as esm2015

chunk {main} main.js, main.js.map (main) 1.16 MB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 187 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {scripts} scripts.js, scripts.js.map (scripts) 1.4 MB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 393 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 8.33 MB [initial] [rendered]
Date: 2020-04-06T12:20:08.073Z - Hash: d0c919cd06f6cce7a2d6 - Time: 193149ms
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
: Compiled successfully.

Please, could you check your package.json and other fullcalendar imports? Also, you can try with the new primeng version (primeng 9.0.5).

centai
Posts: 62
Joined: 22 Mar 2012, 12:58

07 Apr 2020, 10:17

After updating to the latest PrimeNG 9.0.5 and Angular 9.1.0 is was working.

mert.sincan
Posts: 4638
Joined: 29 Jun 2013, 12:38

09 Oct 2020, 22:38

Thanks a lot, @merve ;)

Best Regards,

Post Reply

Return to “Ultima - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest