Emitted value instead of an instance of Error) CssSyntaxError: code example

Example 1: ionic (Emitted value instead of an instance of Error

Add '/' to the beginning of the path: example:'/assets/images/logo.png' where assets is located in the root under src Folder

Example 2: (emitted value instead of an instance of error) csssyntaxerror angular 6

28 | .bio-image{
  29 |     background: url(./assets/img/my_portrait.jpg);
     |                
  30 |     grid-area: bioimage;
  31 |     margin: auto;
  45 |             width: 150px;
  46 |             height: 150px;
  47 |             background: url(../assets/img/my_portrait_small.jpg);
     |                        
  48 |             border-radius: 50%;
  49 |             border: solid 3px $secondary-color;
  45 |             width: 150px;
  46 |             height: 150px;
  47 |             background: url(../assets/img/my_portrait_small.jpg);
     |                        
  48 |             border-radius: 50%;
  49 |             border: solid 3px $secondary-color;
  45 |             width: 150px;
  46 |             height: 150px;
  47 |             background: url(../assets/img/my_portrait_small.jpg);
     |                        
  48 |             border-radius: 50%;
  49 |             border: solid 3px $secondary-color;
  45 |             width: 150px;
  46 |             height: 150px;
  47 |             background: url(../assets/img/my_portrait_small.jpg);
     |                        
  48 |             border-radius: 50%;
  49 |             border: solid 3px $secondary-color;
  45 |             width: 150px;
  46 |             height: 150px;
  47 |             background: url(../assets/img/my_portrait_small.jpg);
     |                        
  48 |             border-radius: 50%;
  49 |             border: solid 3px $secondary-color;
  45 |             width: 150px;
  46 |             height: 150px;
  47 |             background: url(../assets/img/my_portrait_small.jpg);
     |                        
  48 |             border-radius: 50%;
  49 |             border: solid 3px $secondary-color;
  45 |             width: 150px;
  46 |             height: 150px;
  47 |             background: url(../assets/img/my_portrait_small.jpg);
     |                        
  48 |             border-radius: 50%;
  49 |             border: solid 3px $secondary-color;
  45 |             width: 150px;
  46 |             height: 150px;
  47 |             background: url(../assets/img/my_portrait_small.jpg);
     |                        
  48 |             border-radius: 50%;
  49 |             border: solid 3px $secondary-color;
  45 |             width: 150px;
  46 |             height: 150px;
  47 |             background: url(../assets/img/my_portrait_small.jpg);
     |                        
  48 |             border-radius: 50%;
  49 |             border: solid 3px $secondary-color;

Tags:

Css Example