A huge party meant to celebrate the 30th anniversary of New York City’s “Silicon Alley” tech scene turned into a debacle last week after a building permit issue caused hundreds of people to be stranded outside the venue, The Post has learned.