EasyUI Forum
May 16, 2022, 08:26:31 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: error on LazyLoadModule  (Read 136 times)
harunrv
Newbie
*
Posts: 3


View Profile Email
« on: May 06, 2022, 03:22:02 AM »

ERROR Error: Uncaught (in promise): Error: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.
Error: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.


Angular CLI: 13.3.5
Node: 16.15.0
Package Manager: npm 8.5.5
Logged
jarry
Administrator
Hero Member
*****
Posts: 2079


View Profile Email
« Reply #1 on: May 07, 2022, 07:49:11 AM »

This issue has been fixed. Please update to the newest version.
Logged
harunrv
Newbie
*
Posts: 3


View Profile Email
« Reply #2 on: May 07, 2022, 08:33:13 AM »

now another error occurs

Compiled with problems:X

ERROR in ./node_modules/ng-easyui/fesm2015/ng-easyui.js 3245:47-78

export 'ɵangular_packages_forms_forms_z' (imported as 'ɵangular_packages_forms_forms_z') was not found in '@angular/forms' (possible exports: AbstractControl, AbstractControlDirective, AbstractFormGroupDirective, COMPOSITION_BUFFER_MODE, CheckboxControlValueAccessor, CheckboxRequiredValidator, ControlContainer, DefaultValueAccessor, EmailValidator, FormArray, FormArrayName, FormBuilder, FormControl, FormControlDirective, FormControlName, FormGroup, FormGroupDirective, FormGroupName, FormsModule, MaxLengthValidator, MaxValidator, MinLengthValidator, MinValidator, NG_ASYNC_VALIDATORS, NG_VALIDATORS, NG_VALUE_ACCESSOR, NgControl, NgControlStatus, NgControlStatusGroup, NgForm, NgModel, NgModelGroup, NgSelectOption, NumberValueAccessor, PatternValidator, RadioControlValueAccessor, RangeValueAccessor, ReactiveFormsModule, RequiredValidator, SelectControlValueAccessor, SelectMultipleControlValueAccessor, VERSION, Validators, ɵInternalFormsSharedModule, ɵNgNoValidate, ɵNgSelectMultipleOption)


ERROR

node_modules/ng-easyui/lib/accordion/accordion-panel.component.d.ts:31:21 - error TS2694: Namespace '"C:/DEV/PRJ/Angular/test05/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDef'.

31     static ɵfac: i0.ɵɵFactoryDef<AccordionPanelComponent, [{ host: true; }, null]>;
                       ~~~~~~~~~~~~


............
............
............



ERROR

node_modules/ng-easyui/lib/treegrid/treegrid.module.d.ts:15:21 - error TS2694: Namespace '"C:/DEV/PRJ/Angular/test05/node_modules/@angular/core/core"' has no exported member 'ɵɵNgModuleDefWithMeta'.

15     static ɵmod: i0.ɵɵNgModuleDefWithMeta<TreeGridModule, [typeof i1.TreeGridComponent, typeof i2.TreeGridBodyComponent, typeof i3.TreeGridViewComponent, typeof i4.TreeGridRowComponent, typeof i5.TreeGridChildrenComponent, typeof i6.TreeGridEditTemplateDirective], [typeof i7.CommonModule, typeof i8.FormsModule, typeof i9.BaseModule, typeof i10.GridBaseModule, typeof i11.PaginationModule], [typeof i1.TreeGridComponent, typeof i2.TreeGridBodyComponent, typeof i3.TreeGridViewComponent, typeof i4.TreeGridRowComponent, typeof i5.TreeGridChildrenComponent, typeof i6.TreeGridEditTemplateDirective]>;
                       ~~~~~~~~~~~~~~~~~~~~~




Logged
jarry
Administrator
Hero Member
*****
Posts: 2079


View Profile Email
« Reply #3 on: May 09, 2022, 01:59:01 AM »

The library is built with angular 11. Please try to use a lower angular version.
Logged
harunrv
Newbie
*
Posts: 3


View Profile Email
« Reply #4 on: May 10, 2022, 04:22:43 AM »

it woks. thank you
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!