I am facing a problem while updating the ferry package from 0.10.4 to 0.13.0. When executing dart run build_runner build --delete-conflicting-outputs
, it always throws the next error:
`[WARNING] Invalidated precompiled build script due to core package update [WARNING] Error: Cannot run with sound null safety, because the following dependencies don't support null safety:
- package:quiver
For solutions, see https://dart.dev/go/unsound-null-safety [INFO] Precompiling build script... completed, took 3.3s [SEVERE] Failed to precompile build script .dart_tool/build/entrypoint/build.dart. This is likely caused by a misconfigured builder definition.`
These are my ferry packages:
#ferry configurations:
ferry: ^0.13.0
gql_http_link: ^0.4.5
dev_dependencies:
flutter_test:
sdk: flutter
ferry_generator: ^0.7.0
flutter_lints: ^2.0.1
build_runner: ^2.3.3
I have also tried adding gql 0.14.0 to dependency_overrides but it throws the same error. Any clue about a possible solution?
The problem was 'mockito' library. After upgrading it version I was able to upgrade 'ferry' and 'ferry_generator' libraries.