2017-01-13 2 views
0

최근 각도 2에 대한 검도 그리드 (진행/검도 - 각형 그리드)의 0.7.0에서 0.12.0으로 최근 업그레이드되었습니다. 내 응용 프로그램은 AOP가 아니라면 컴파일되지만 AOT에서 컴파일을 시도하자마자 실패합니다. Angular 2 CLI 명령 "ng b --prod - aot"를 사용하고 있습니다. 오류는 다음과 같습니다.검도 각형 그리드 0.12.0은 AOT에서 컴파일되지 않음


10 % 건물 모듈 2/2 모듈 C 0 activecan't 해결 모듈 ./field-accessor.pipe : /Paylocity/paylocity.reporting/src/paylocity.reporting.web/Paylocity.Reporting. Web.Client/node_modules/@progress/kendo-angular-grid/dist/es/shared.module.d.ts C : /Paylocity/paylocity.reporting/src에서 정의되지 않은 해결 SharedModule의 'FieldAccessorPipe'속성을 읽을 수 없습니다. /paylocity.reporting.web/Paylocity.Reporting.Web.Client/node_modules/@progress/kendo-angular-grid/dist/es/shared.module.d.ts, C : /Paylocity/paylocity.reporting의 심볼 SharedModule 해석 /src/paylocity.reporting.web/Paylocity.Reporting.Web.Client/node_modules/@progress/kendo-angular-grid/dist/es/shared.module.d.ts 오류 : 속성을 읽을 수 없습니다. 'FieldAccessorPipe'는 C에서 정의되지 않은 SharedModule을 해결합니다 : /Paylocity/paylocity.reporting/src/paylocity.reporting.web/Paylocity.Reporting.Web.Client/node_modules/@progress/kendo-angular-grid/dist/es/ shared.module.d.ts, C : /Paylocity/paylocity.reporting/src/paylocity.reporting.web/Paylocity.Reporting.Web.Client/node_modules/@progress/kendo-angular-grid/dist/의 SharedModule 심볼 해결. ES/shared.module.d.ts 에서 simplifyInContext (C : \ 사용자 \ chuckj \ SRC \ 각 \ 모듈 \ @angular \ 컴파일러 CLI \ SRC \ static_reflector.ts : 537 : 15) StaticReflector.simplify에서 (C (C : \ Users \ chuckj \ src \ angular \ modules \ @angular) :을 정적 반사기에서 사용합니다. \ compiler-cli \ src \ static_reflector.ts : 93 : 28) (NgModuleResolver.resolve) (C : \ Paylocity \ paylocity.reporting \ src \ paylocity.reporting.web \ Pay locity.Reporting.Web.Client \ node_modules \ @angular \ 컴파일러 \ 번들 \ compiler.umd.js : 14,261 : 46시) CompileMetadataResolver._loadNgModuleMetadata (C : \ Paylocity \ paylocity.reporting \ SRC \ paylocity.reporting.web \ Paylocity.Reporting.Web.Client \ node_modules \ @angular \ 컴파일러 \ 번들 \ compiler.umd.js : CompileMetadataResolver._loadNgModuleSummary (C 45) : 14,646 \ Paylocity \ paylocity.reporting \ SRC \ paylocity.reporting.web \ Paylocity.Reporting.Web.Client \ node_modules \ @angular \ compiler \ bundles \ compiler.umd.js : 14615 : 33) C : \ Paylocity \ paylocity.reporting \ src \ paylocity.reporting.web \ Paylocity.Reporting. CompileMetadataResolver._loadNgModuleMetadata (C : \ Paylocity \ paylocity.reporting \ src \ paylocity.reporting)에서 Web.Client \ node_modules \ @angular \ compiler \ bundles \ compiler.umd.js : 14673 : 57 을 Array.forEach (기본) 에 있습니다. .web \ Paylocity.Reporting.Web.Client \ no compileMetadataResolver.getUnloadedNgModuleMetadata (C : \ Paylocity \ paylocity.reporting \ src \ paylocity.reporting.web \ Paylocity.Reporting.Web.Client \)에서 을 de_modules ₩ @angular ₩ compiler ₩ bundles ₩ compiler.umd.js : 14660 : node_modules \ @angular \ 컴파일러 \ 번들 \ compiler.umd.js : 14636 : 23) addNgModule (C에서 : \ Paylocity \ paylocity.reporting \ SRC \ paylocity.reporting.web \ Paylocity.Reporting.Web.Client \ node_modules \ C : \ Paylocity \ paylocity.reporting \ src \ paylocity.reporting.web \ Paylocity.Reporting.Web.Client \ node_modules \ @angular \ compiler에서 @angular \ compiler \ bundles \ compiler.umd.js : 12944 : 43) \ bundles \ compiler.umd.js : 12957 : 16 at Array.forEach (기본) _createNgModules (C : \ Paylocity \ paylocity.reporting \ src \ paylocity.reporting.web \ Paylocity.Reporting.Web.Client \ node_modules) \ @angular \ compiler \ bundles \ compiler.umd.js : 12956 : 28)analyzeNgModules에서 91,363,210 (C : \ Paylocity \ paylocity.reporting \ SRC \ paylocity.reporting.web \ Paylocity.Reporting.Web.Client \ node_modules \ @angular \ 컴파일러 \ 번들 \ compiler.umd.js : 12700 : 16)에 analyzeAndValidateNgModules (C : \ Paylocity \ paylocity.reporting \ SRC \ paylocity.reporting.web \ Paylocity.Reporting.Web.Client \ node_modules \ @angular \ 컴파일러 \ 번들 \ compiler.umd.js : 12704 : 20)에 OfflineCompiler . compileModules (C : \ Paylocity \ paylocity.reporting \ src \ paylocity.reporting.web \ Paylocity.Reporting.Web.CodeGenerator.codegen (C : \ Users \ chuckj \ src \ angular \ modules \ @angular \ compiler-cli \ src \ codegen)에서클라이언트 \ node_modules \ @angular \ compiler \ bundles \ compiler.umd.js : 12775 : .t : 71 : 26) C : \ Paylocity \ paylocity.reporting \ src \ paylocity.reporting.web \ Paylocity.ReportingWeb.Client \ node_modules \ @ngtools \ webpack \ src \ plugin.js :210 : 73 process._tickCallback에서 (내부/프로세스/next_tick.js : 103 : 7)

답변

0

당신은 @progress/kendo-angular-grid 버전을 최신 시도 할 수 있습니다 (현재 0.12.1). AoT 용 빌드가 각도 2.4.x으로 실행 중이며 모두 원활하게 실행되고있는 것으로 보입니다.