currently I have a problem with one angular 6 App. I use the Fuse Skeleton Template for it. Currently I'm getting trouble, when I try to use MatSnackBar in the App. As soon as I add the MatSnackBar to the constructor of a component, I get an Error in the JS Console of the Browser.
constructor(
private formBuilder: FormBuilder,
private location: Location,
public snackBar: MatSnackBar
)
{
}
And this is the Error message:
ERROR Error: "[object Object]"
How can I get more Information what is wrong?