我們正在努力爲我們的角2項目執行時間提前(AOT)編譯和我們走入一個錯誤:角AOT編譯錯誤:內部狀態:StaticSymbols在總結不能有成員
Error: Internal state: StaticSymbols in summaries can't have members! {"filePath":"C:/Users/bhavy/Documents/projects/kairos/projects/KairosUI/node_modules/daypilot-pro-angular/daypilot-angular.min.d.ts","name":"DayPilot","members":["Angular","Scheduler"]}
Error: Internal state: StaticSymbols in summaries can't have members! {"filePath":"C:/Users/bhavy/Documents/projects/kairos/projects/KairosUI/node_modules/daypilot-pro-angular/daypilot-angular.min.d.ts","name":"DayPilot","members":["Angular","Scheduler"]} at AotSummaryResolver._assertNoMembers (C:\Users\bhavy\Documents\projects\kairos\projects\kairosUI\node_modules\@angular\compiler\bundles\compiler.umd.js:26300:23) at AotSummaryResolver.resolveSummary (C:\Users\bhavy\Documents\projects\kairos\projects\kairosUI\node_modules\@angular\compiler\bundles\compiler.umd.js:26308:18) at CompileMetadataResolver._loadSummary (C:\Users\bhavy\Documents\projects\kairos\projects\kairosUI\node_modules\@angular\compiler\bundles\compiler.umd.js:18032:70) at CompileMetadataResolver.getNgModuleSummary (C:\Users\bhavy\Documents\projects\kairos\projects\kairosUI\node_modules\@angular\compiler\bundles\compiler.umd.js:18226:56) at C:\Users\bhavy\Documents\projects\kairos\projects\kairosUI\node_modules\@angular\compiler\bundles\compiler.umd.js:18318:72 at Array.forEach (native) at CompileMetadataResolver.getNgModuleMetadata (C:\Users\bhavy\Documents\projects\kairos\projects\kairosUI\node_modules\@angular\compiler\bundles\compiler.umd.js:18313:53) at addNgModule (C:\Users\bhavy\Documents\projects\kairos\projects\kairosUI\node_modules\@angular\compiler\bundles\compiler.umd.js:25053:62) at C:\Users\bhavy\Documents\projects\kairos\projects\kairosUI\node_modules\@angular\compiler\bundles\compiler.umd.js:25064:18 at Array.forEach (native) Compilation failed.
這個錯誤是什麼意思? 我們在這裏指的是什麼靜態符號?
我們不能試圖修復它,除非我們知道錯誤究竟是什麼。
任何幫助/建議在這方面將不勝感激。
PS:我們試圖在github角度問題tracker上提出問題,但被告知stackoverflow可能是更好的地方來提高這樣的支持問題。
您的項目編譯沒有錯誤 –
@RahulSingh,我們使用webpack在開發和生產環境中執行編譯。是的,它編譯得很好。 –
可以請你發佈這個組件daypilot-angular的代碼嗎?我認爲它指向這個類的某個地方 –