Angular prompts ngModel instruction to report an error

in projects generated through angular-cli, < input [(ngModel)] = "username" >
ngModel directive reported an error: Can"t bind to "ngModel" since it isn"t a known property of" input". ("


import {FormsModule} from"@ angular/forms";
is introduced in

app.module.ts and added to the imports list of @ NgModule

angular related version 7.0.0
typescript version 3.1.6

which god has encountered this kind of problem, please let me know, thank you!

Dec.20,2021

the problem has been resolved!


import {FormsModule} from'@ angular/forms';
the following
imports: [

FormsModule,

]

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c18c-2b64c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c18c-2b64c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?