DART_SDK is not set for build process. Add some logging to see where it gets lost.