VideoSpike/nativescript-web-image-cache

Problem with ngFor in Angular JS

Opened this issue · 3 comments

Hello,

First of thanks for the plugin. During my testing with NS 3.0 Angular JS ngFor command I am getting following error:

JS: ERROR Error: Path "" is not a valid file or resource.
JS: ERROR CONTEXT [object Object]
JS: ERROR Error: Path "" is not a valid file or resource.
JS: ERROR CONTEXT [object Object]
JS: ERROR Error: Path "" is not a valid file or resource.
JS: ERROR CONTEXT [object Object]

My template:

<StackLayout class="cardStack" *ngFor="let course of courses">
          <MyCourseCardView class="MyCoursecardStyle" margin="10" elevation="40" radius="1">
            <GridLayout rows="*,*" columns="*,*,*">

              <WebImage stretch="aspectFit" row="0" rowspan="3" col="0" *ngIf="course.summary_files[0]" src="{{course.summary_files[0].url}}"></WebImage>

              <Label class="courseTitle" row="0" col="1" colspan="2" [text]="course.fullname" textWrap="true"></Label>

            </GridLayout>
          </MyCourseCardView>

Any idea to solve this problem? Thanks in advance.

I'm experiencing the same problem with NS 3.0

kilka commented

I'm having the same issue as well using NS 3.0.

I have the same issue also does anyone have solved the issue @codeback @kilka