我正在尝试使用 angular 11 中的表单,但出现以下错误- 错误:./src/app/components/register/register.component.ts 找不到模块:错误:无法解析“C:\Users\Ram Chaurasiya\Desktop\Projects\MyRealtimeProjects\onlineLearningPortal\”中的“../../../../node_modules/@angular/forms/forms” src\app\components\register'
答案 0 :(得分:0)
请在 register.component.ts 中检查您的导入 它应该仅来自“@angular/forms”