Base solution for your next web application
Open Closed

Error on worker #2: Error: getInternalNameOfClass() called on a non-ES5 class: expected AbpModule to have an inner class declaration #9936


User avatar
0
olmy90 created

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? 8.4
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .net core

If issue related with ABP Framework

  • What is ABP Framework version?

If issue is about UI

CDCI Deployment

Hi,

I'm getting following error when tryto publish site. Any idea what this could be?

Compiling @syncfusion/ej2-angular-treemap : module as esm5 Compiling abp-ng2-module : module as esm5 EXEC : error : Error on worker #2: Error: getInternalNameOfClass() called on a non-ES5 class: expected AbpModule to have an inner class declaration [D:\a\1\s\src\WFMOne.Web.Host\WFMOne.Web.Host.csproj] at Esm5ReflectionHost.getInternalNameOfClass (D:\a\1\s\src\WFMOne.Web.Host\node_modules@angular\compiler-cli\ngcc\src\host\esm5_host.js:88:23) at DelegatingReflectionHost.getInternalNameOfClass (D:\a\1\s\src\WFMOne.Web.Host\node_modules@angular\compiler-cli\ngcc\src\host\delegating_host.js:89:34) at NgModuleDecoratorHandler.analyze (D:\a\1\s\src\WFMOne.Web.Host\node_modules@angular\compiler-cli\src\ngtsc\annotations\src\ng_module.js:206:78) at NgccTraitCompiler.TraitCompiler.analyzeTrait (D:\a\1\s\src\WFMOne.Web.Host\node_modules@angular\compiler-cli\src\ngtsc\transform\src\compilation.js:345:40) at analyze (D:\a\1\s\src\WFMOne.Web.Host\node_modules@angular\compiler-cli\src\ngtsc\transform\src\compilation.js:297:58) at _loop_1 (D:\a\1\s\src\WFMOne.Web.Host\node_modules@angular\compiler-cli\src\ngtsc\transform\src\compilation.js:319:21) at NgccTraitCompiler.TraitCompiler.analyzeClass (D:\a\1\s\src\WFMOne.Web.Host\node_modules@angular\compiler-cli\src\ngtsc\transform\src\compilation.js:325:35) at NgccTraitCompiler.analyzeFile (D:\a\1\s\src\WFMOne.Web.Host\node_modules@angular\compiler-cli\ngcc\src\analysis\ngcc_trait_compiler.js:47:26) at DecorationAnalyzer.analyzeProgram (D:\a\1\s\src\WFMOne.Web.Host\node_modules@angular\compiler-cli\ngcc\src\analysis\decoration_analyzer.js:134:39) at Transformer.analyzeProgram (D:\a\1\s\src\WFMOne.Web.Host\node_modules@angular\compiler-cli\ngcc\src\packages\transformer.js:129:57) at ClusterMaster.onWorkerMessage (D:\a\1\s\src\WFMOne.Web.Host\node_modules@angular\compiler-cli\ngcc\src\execution\cluster\master.js:194:27) at D:\a\1\s\src\WFMOne.Web.Host\node_modules@angular\compiler-cli\ngcc\src\execution\cluster\master.js:54:95 at ClusterMaster.<anonymous> (D:\a\1\s\src\WFMOne.Web.Host\node_modules@angular\compiler-cli\ngcc\src\execution\cluster\master.js:292:57) at step (D:\a\1\s\src\WFMOne.Web.Host\node_modules\tslib\tslib.js:141:27) at Object.next (D:\a\1\s\src\WFMOne.Web.Host\node_modules\tslib\tslib.js:122:57) at D:\a\1\s\src\WFMOne.Web.Host\node_modules\tslib\tslib.js:115:75 at new Promise (<anonymous>) at Object.__awaiter (D:\a\1\s\src\WFMOne.Web.Host\node_modules\tslib\tslib.js:111:16) at EventEmitter.<anonymous> (D:\a\1\s\src\WFMOne.Web.Host\node_modules@angular\compiler-cli\ngcc\src\execution\cluster\master.js:286:32) at EventEmitter.emit (events.js:315:20) An unhandled exception occurred: NGCC failed.


1 Answer(s)