The first nor’easter of the season slammed into the Massachusetts coast, bringing wind gusts up to 90 miles per hour and knocking out power for nearly half a million customers in the state.