-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad state: No element when running pub run build_runner build #3157
Comments
Detailed info by running -v option flutter pub run build_runner build --delete-conflicting-outputs -v [WARNING] Bootstrap: You have hit a bug in build_runner Bad state: No element [+2313 ms] "flutter run" took 2 411ms. [ +149 ms] ensureAnalyticsSent: 147ms |
This looks like an issue with the swagger_dart_code_generator package, please file an issue at https://github.com/epam-cross-platform-lab/swagger-dart-code-generator/issues/new. |
[](flutter pub run build_runner build --delete-conflicting-outputs
[INFO] Generating build script...
[INFO] Generating build script completed, took 454ms
[INFO] Precompiling build script......
[INFO] Precompiling build script... completed, took 5.7s
You have hit a bug in build_runner
Please file an issue with reproduction steps at https://github.com/dart-lang/build/issues
Bad state: No element
dart:core Iterable.first
package:swagger_dart_code_generator/swagger_dart_code_generator.dart 36:20 _generateExtensions
package:swagger_dart_code_generator/swagger_dart_code_generator.dart 50:32 SwaggerDartCodeGenerator.buildExtensions
package:build_runner_core/src/package_graph/apply_builders.dart 399:33 _validateBuilder
package:build_runner_core/src/package_graph/apply_builders.dart 181:9 new BuilderApplication.forBuilder..
package:build_runner_core/src/package_graph/apply_builders.dart 342:27 _createBuildPhasesForBuilderInCycle..
dart:core Iterable.toList
package:build_runner_core/src/package_graph/apply_builders.dart 289:8 createBuildPhases
package:build_runner_core/src/generate/build_impl.dart 110:29 BuildImpl.create
package:build_runner_core/src/generate/build_runner.dart 34:42 BuildRunner.create
package:build_runner/src/generate/build.dart 109:35 build
package:build_runner/src/entrypoint/build.dart 35:18 BuildCommand._run
package:args/command_runner.dart 209:13 CommandRunner.runCommand
package:build_runner/src/entrypoint/run.dart 26:18 run
.dart_tool/build/entrypoint/build.dart 31:16 main
pub finished with exit code 1)
The text was updated successfully, but these errors were encountered: