I am trying to run my server and have my app.component.html load on localhost:8000. Instead, I am receiving this error
compiler.js:7992 Uncaught Error
I got this as well in the process of upgrading to Angular 7 and upgrading various dependencies to their latest versions. I found that using raw-loader version 2.0.0 was causing this error even though my styleUrls were correct syntax. Downgrading to raw-loader version 1.0.0 resolved this issue. I don't know if this helps in your situation.