Japanese Mirin or dry sherry will be a good substitute. Mirin is slightly sweeter than Shao Xing wine so if you’re using mirin, you can reduce the amount of sugar you are adding to the dish. For the non-alcohol version, you can add rice vinegar or omit Shao Xing wine.