我在构建角度项目时遇到了奇怪的问题。我不知道为什么会这样。
以下是错误
“类型错误未定义 i 「wdm」:编译失败。i 「wdm」:正在编译... 16% 正在构建模块 3/5 模块 2 个活动 ...rackQlik\ERPISTO.Web.UI\src\styles.scssD: \Working Projects\TrackQlik\ERPISTO.Web.UI\node_modules@angular\compiler-cli\src\transformers\program.js:480 throw e; ^
ReferenceError:类型未在 validateAnalyzedModules (D:\Working Projects\ TrackQlik\ERPISTO.Web.UI\node_modules@angular\compiler\bundles\compiler.umd.js:31268:15) 在 mergeAndValidateNgFiles (D:\Working Projects\TrackQlik\ERPISTO.Web.UI\node_modules@angular\compiler\bundles \compiler.umd.js:31458:12) 在 AotCompiler.loadFilesSync (D:\Working Projects\TrackQlik\ERPISTO.Web.UI\node_modules@angular\compiler\bundles\compiler.umd.js:30666:16) 在 AngularCompilerProgram AngularCompilerProgram.get [as tsProgram] 上的 .initSync (D:\Working Projects\TrackQlik\ERPISTO.Web.UI\node_modules@angular\compiler-cli\src\transformers\program.js:384:49) (D:\Working项目\TrackQlik\ERPISTO.Web。UI\node_modules@angular\compiler-cli\src\transformers\program.js:359:22) 在 AngularCompilerProgram.getTsSyntacticDiagnostics (D:\Working Projects\TrackQlik\ERPISTO.Web.UI\node_modules@angular\compiler-cli\src \transformers\program.js:109:21) 在 checkDiagnostics (D:\Working Projects\TrackQlik\ERPISTO.Web.UI\node_modules@ngtools\webpack\src\gather_diagnostics.js:38:27) 在 Object.gatherDiagnostics (D :\Working Projects\TrackQlik\ERPISTO.Web.UI\node_modules@ngtools\webpack\src\gather_diagnostics.js:60:9) 在 TypeChecker._diagnose (D:\Working Projects\TrackQlik\ERPISTO.Web.UI\node_modules@ ngtools\webpack\src\type_checker.js:94:53)"\Working Projects\TrackQlik\ERPISTO.Web.UI\node_modules@ngtools\webpack\src\gather_diagnostics.js:38:27) 在 Object.gatherDiagnostics (D:\Working Projects\TrackQlik\ERPISTO.Web.UI\node_modules@ngtools \webpack\src\gather_diagnostics.js:60:9) 在 TypeChecker._diagnose (D:\Working Projects\TrackQlik\ERPISTO.Web.UI\node_modules@ngtools\webpack\src\type_checker.js:94:53)"\Working Projects\TrackQlik\ERPISTO.Web.UI\node_modules@ngtools\webpack\src\gather_diagnostics.js:38:27) 在 Object.gatherDiagnostics (D:\Working Projects\TrackQlik\ERPISTO.Web.UI\node_modules@ngtools \webpack\src\gather_diagnostics.js:60:9) 在 TypeChecker._diagnose (D:\Working Projects\TrackQlik\ERPISTO.Web.UI\node_modules@ngtools\webpack\src\type_checker.js:94:53)"
有人可以帮我吗?我在这里感到震惊。