אין לי שם מקורי
משתמש צעיר
היי ערב טוב פתחתי עכשיו service באנגולר וייבאתי אותו לappmodule
וזה ההודעת שגיאה שמתקבלת לי:
Failed to compile.
src/app/ser.service.ts:6:14 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class. Is it missing an @NgModule annotation? 6 export class SerService { ~~~~~~~~~~ node_modules/@Angular/common/http/http.d.ts:81:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class.
ניסיתי לפתור אותה בכל דרך ולא הצלחתי אשמח אם מישהו יוכל לעזור לי
וזה ההודעת שגיאה שמתקבלת לי:
Failed to compile.
src/app/ser.service.ts:6:14 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class. Is it missing an @NgModule annotation? 6 export class SerService { ~~~~~~~~~~ node_modules/@Angular/common/http/http.d.ts:81:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class.
ניסיתי לפתור אותה בכל דרך ולא הצלחתי אשמח אם מישהו יוכל לעזור לי