sails.js中的disk.db在哪里?我没有在.tmp文件夹中看到它.我添加了用户模型和控制器,并能够添加用户和查询.我也停止并重新启动应用程序,因此它必须存储在某个地方.
我的应用运行正常.我想使用AOT加速加载应用程序,由于检查FormA,我收到了ngc和AOT设置的编译错误
在打字稿中,我的表单带有FormArray字段:
private buildForm() {
this.taskForm = this.formBuilder.group({
questions: this.formBuilder.array([
])
}
}
Run Code Online (Sandbox Code Playgroud)
在模板中:
<h3 *ngIf="taskForm.get('questions').length < 1" >Render Decision</h3>
Run Code Online (Sandbox Code Playgroud)
AOT编译:
node_modules/.bin/ngc -p src/tsconfig-aot.json
Run Code Online (Sandbox Code Playgroud)
错误:
my-component.component.ngfactory.ts:4530:59: Property 'length' does not exist on type 'AbstractControl'.
Run Code Online (Sandbox Code Playgroud)