I was building react-native on vscode today and got the same error as the image. I've searched around, but it didn't help much as I only had answers for building in terminal. I want to know the solution when building in vscode.
Thanks for your advice