[英]Angular Compiler looking for html files in NX buildable library
我是 NX 的新手,创建了一个依赖于另一个库“designsystem-angular”的库“designsystem-angular-header”
当我尝试构建编译器时,会转到 dist 文件夹以搜索 html 文件以获取依赖项? 只有没有,只有 typescript 文件......有没有人有这方面的经验?
我有一个开箱即用的 Angular 12 tsconfig 设置,除了
"angularCompilerOptions": {
"enableIvy": false
}
该错误简而言之,它无法找到 html 文件,我发现它首先正在寻找那些文件有点奇怪......
nx run designsystem-angular-header:build:production
Building entry point '@husbanken/designsystem-angular-header'
Compiling TypeScript sources through NGC
ERROR: Cannot read file C:\Users\hoko\IdeaProjects\hb-nx-frontend\husbanken\dist\libs\designsystem-angular\lib\accordion\accordion.component.html.
...
我的版本是:“@angular/cli”:“12.0.0”,“@nrwl/cli”:“12.3.3”,节点:12.14.1 npm:6.12.0
无论如何,您都不会在 dist 上找到 html 文件,就是这样
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.