Whirlpool washer wont fill with water.

I just installed a front loading washer, whirlpool LHW0050PQ. The power comes on. It runs through cycles. Water comes through the hoses. But the washer won’t fill up with water. Any thoughts?