The market faced multimillion-dollar funding setbacks, pandemic delays and growing costs. Here’s an in-depth look into the saga ahead of its opening.