[英]angular 4: I generated component and run the build command? there is should be some errors?
/home/salim/Development/www/kpittu/src/$$_gendir/app/dashboard/dashboard.component.ngfactory.ts(32,32)中的錯誤:類型“ DashboardComponent”上不存在屬性“ admin”。
/home/salim/Development/www/kpittu/src/$$_gendir/app/dashboard/dashboard.component.ngfactory.ts(32,44)中的錯誤:類型“ DashboardComponent”上不存在屬性“編輯器”。
./src/main.ts中的錯誤找不到模塊:錯誤:無法解析'/ home / salim / Development / www / kpittu / src'中的'./$$_gendir/app/app.module.ngfactory'@ ./src/main.ts 3:0-74 @多./src/main.ts
我希望您需要在Component和HTML文件中將變量“ admin-editor”重命名為“ admin_editor”。
<app-tinymce [elementId]="admin_editor" (onEditorKeyup)="keyupHandlerFunction($event)"> </app-tinymce>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.