Tree Can';不要绑定到树,因为它是';这不是树的已知属性

Tree Can';不要绑定到树,因为它是';这不是树的已知属性,tree,angular5,Tree,Angular5,我试图使用ng2 tree,但遇到了一个错误> 错误 Can't bind to 'tree' since it isn't a known property of 'tree'. (" </tbody> <tree [ERROR ->][tree]="tree" *ngIf="tree" > <ng-template let-node >

我试图使用ng2 tree,但遇到了一个错误>

错误

Can't bind to 'tree' since it isn't a known property of 'tree'. ("
            </tbody>

            <tree [ERROR ->][tree]="tree" *ngIf="tree" >
                <ng-template let-node >
                    <span clas"): ng:///EditFolderModule/FolderPathComponent.html@16:18
'tree' is not a known element:
1. If 'tree' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. 
我在这个网站上尝试了几个例子,但没有成功:


你的
应用程序模块
是什么样子的?有一个
编辑文件夹.module.ts
,我将
文件夹路径.module.ts
导入到那里,然后将
编辑文件夹.module.ts
导入到
应用程序.module.ts
你的
树模块
?在
文件夹路径.module.ts
<tree [tree]="folderTree" *ngIf="folderTree" >
      <ng-template let-node >
         <span class="node-name" [innerHTML]="node.name"></span>
      </ng-template>
</tree>
public tree: TreeModel = {
        value: 'Programming languages by programming paradigm',
        children: [
            {
                value: 'Object-oriented programming',
                children: [{ value: 'Java' }, { value: 'C++' }, { value: 'C#' }]
            }
        ]
    };