It was hard getting along with the neighbor.

Literal

Next [of-の] people [with-と] well-do [nominalizer-のは] difficult was.

うまくやる ('to do well, manage well, get along') is the adverbial うまく ('well, skillfully') + やる ('to do'). のは nominalizes the clause (cleft structure). 難しかった ('was difficult') as past predicate. A subtle complaint.