Angular 5 Uncaught Referenceerror Viewencapsulation Is Not Defined

Angular 5 Uncaught Referenceerror Viewencapsulation Is Not Defined