Adding background image throws a module load error

Yes, I have tried this. Like I said the images shows up when I put background-image: url(‘../images/my-picture.png’) but there is an error in the developer tools console.
Is there any way to get rid of this error