התקנת ספרייה recordrtc - אנגולר

  • הוסף לסימניות
  • #1
התקנתי את הספרייה recordrtc
וקבלתי את ההודעה הבאה:
fixed 6 of 7 vulnerabilities in 1314 scanned packages
1 vulnerability required manual review and could not be updated
1 package update for 6 vulnerabilities involved breaking changes
(installed due to `--force` option)

אשמח אם מישהו יוכל להסביר לי איך לטפל ב - " 1 vulnerability required manual review and could not be updated"
תודה רבה!!
 
  • הוסף לסימניות
  • #2
אני מנסה להריץ - NG SERVE בטרמינל (אחרי שניסיתי להתקין-- אולי זה קשור :unsure: )
ורושם לי שאני צריכה לעדכן לגרסה 13
ניסיתי לעדכן את הפקודה : npx #angular/cli#13 update #angular/core#13 #angular/cli#13 (כל מקום שיש # = @ - זה חושב שזה מייל אז לא נותן לי לרשום..)
ומביא לי את השגיאה : Repository is not clean. Please commit or stash any changes before updating.

אשמח אם מישהו יכול לעזור לי - זה דיי דחוף לי - תודה רבה!!!
נ.ב.
עדיין לא מצאתי פתרון להתקנת הספרייה recordrtc :(...
 
  • הוסף לסימניות
  • #6
עדכן לי :)
כרגע הוא לא מזהה לי את loadChildren ב- app.module
הוא רושם לי עליו:
Type 'string' is not assignable to type 'LoadChildrenCallback | undefined'.ts(2322)
router.d.ts(1998, 5:( The expected type comes from property 'loadChildren' which is declared here on type 'Route
מציינת שלפני העדכון הכל עבד תקין.
מחיפוש בגוגל לא הגעתי לתשובה
אשמח להסבר ממי שיודע
תודה רבה!!!

מצרפת את קטע הקוד הרלווטי אולי יעזור..
RouterModule.forRoot([
{path: '', redirectTo: 'MainComponent', pathMatch: 'full'},
{path: 'teacher', loadChildren: 'src/app/teacher/teacher-main/teacher-main.module#TeacherMainModule', pathMatch: 'full'},
{path: 'student', loadChildren: 'src/app/student/student-main/student-main.module#StudentMainModule', pathMatch: 'full'}
])
 
  • הוסף לסימניות
  • #7
loadChildren מקבל פונקציה Callback ולא string
הנה דוגמא:
JavaScript:
[{
  path: 'lazy',
  loadChildren: () => import('./lazy-route/lazy.module').then(mod => mod.LazyModule),
}];
ראה כאן
 

פרוגבוט

תוכן שיווקי
פרסומת
למעלה