iT邦幫忙

0

Angular 19 無法使用ngModel

  • 分享至 

  • xImage

目前Angular 19 沒有app.module.ts
執行ng new my-app --no-standalone --routing --ssr=false 會自動產生,但是會出現
請問該怎麼排除此錯誤訊息

Value at position 4 in the NgModule.imports of AppModule is not a reference
Value could not be determined statically.(-991010)
app.module.ts(19, 5): Unknown reference.

(alias) class FormsModule
import FormsModule
Exports the required providers and directives for template-driven forms, making them available for import by NgModules that import this module.

https://ithelp.ithome.com.tw/upload/images/20250408/201531822tUxTXWUTM.png

尚未有邦友回答

立即登入回答