生成浏览器应用程序包(阶段:安装)...Error: ENOENT:没有这样的文件或目录,在(file:///D:/Harry/client/node_modules/@angular/compiler-cli/bundles/chunk-CLV7JFJQ.js:333:16) at EsmDependencyHost.recursivelyCollectDependencies (file:///D:/Harry/client/node_modules/@angular/compiler-cli/bundles/chunk-NALI3EFD.js:208的Object.openSync (节点:fs:585:3)打开'D:/Harry/client/src/src/main.ts‘(节点:fs:453:35):34)在ProgramBasedEntryPointFinder.getInitialEntryPointPaths (file:///D:/Harry/client/node_modules/@angular/compiler-cli/bundles/chunk-NALI3EFD.js:855的EsmDependencyHost.collectDependenciesInFiles (file:///D:/Harry/client/node_modules/@angular/compiler-cli/bundles/chunk-NALI3EFD.js:204:12)的EsmDependencyHost.processFile EsmDependencyHost.processFile:10)在(file:///D:/Harry/client/node_modules/@angular/compiler-cli/bundles/chunk-NALI3EFD.js:814:35) at file:///D:/Harry/client/node_modules/@angular/compiler-cli/bundles/chunk-NALI3EFD.js:1264:33 at new ClusterMaster (file:///D:/Harry/client/node_modules/@angular/compiler-cli/bundles/chunk-NALI3EFD.js:1366:22) D:\Harry\client\node_modules@ngtools\webpack\src\ngcc_processor.js:135抛出新错误(errorMessage+ NGCC failed${errorMessage ? ', see above' : ''}.);^
错误: NGCC失败。在(D:\Harry\client\node_modules@ngtools\webpack\src\ngcc_processor.js:135:19) at D:\Harry\client\node_modules@ngtools\webpack\src\ivy\plugin.js:147:27 at Hook.eval as call at Hook.CALL_DELEGATE as _call at Compiler.newCompilation (D:\Harry\client\node_modules\webpack\lib\Compiler.js:1108:30) at D:\Harry\client\node_modules\webpack\lib\Compiler创建(D:\Harry\client\node_modules\tapable\lib\HookCodeFactory.js:33:10),时的.js:1153:29:31:1)
发布于 2022-05-14 09:30:41
您可以尝试以下方法之一:
在
https://stackoverflow.com/questions/72238669
复制相似问题