Masahiro's tech note
PostsProjectsAbout
PostsProjectsAbout
Backback arrow icon
Angular

Angular2 aot something.component.ngfactory.ts:881:81 Property ‘*****’ does not exist on type

aot コンパイルをした後、タイトルのエラーが出てきました

自分の解決策は、htmlファイルに、
プロパティの値を確認するために使用していたjson pipeのせいでだったみたいです

{{product | json}}

参考にした記事

AOT fails with type errors even when no type errors in the project #1536
AoT: Property ‘ngOnInit’ does not exist on type ‘MdTooltip’
Ngc error: Compilation failed, ionic2, rc0 #8511

Featured
React / Angular等のSPAをIntelliJでデバッグさせる
2021/07/28
Angular
React
Angularでhubspotフォームがfooterの下に来る問題の解消
2021/01/31
Angular
Node.js
TypeScript
Angular Material Table Error: Can’t bind to ‘mdHeaderRowDef’ since it isn’t a known property of ‘md-header-row’
2021/01/09
Angular

github
twitter
menta
mail
copyright © 2016-2023 Masahiro Okubo