您有什么建议、想法吗?我该如何解决以下错误?
当我运行生产构建时发生这种情况。 更有趣的是,当我使用 -aot=false 运行生产构建时,它成功了。
错误:错误:尝试从node_modules包导入源文件:从C:导入C:...search-scrollbar.directive.ts .../node_modules/ngx-bootstrap/typeahead/typeahead-container.component.ngfactory.ts 在 TsCompilerAotCompilerTypeCheckHostAdapter.fileNameToModuleName (C:... ode_modules\@angula