You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After flutter pub run build_runner build --delete-conflicting-outputs I run this command again and throws error:
Null check operator used on a null value
package:pub/src/package_graph.dart 64:53 PackageGraph.transitiveDependencies..
dart:core Iterable.toSet
package:pub/src/package_graph.dart 64:56 PackageGraph.transitiveDependencies.
package:pub/src/utils.dart 664:41 mapMap
package:pub/src/package_graph.dart 62:11 PackageGraph.transitiveDependencies
package:pub/src/package_graph.dart 89:12 PackageGraph.isPackageMutable
package:pub/src/executable.dart 100:33 runExecutable
package:pub/src/command/run.dart 88:26 RunCommand.runProtected
package:pub/src/command.dart 190:45 PubCommand.run.
dart:async new Future.sync
package:pub/src/utils.dart 111:12 captureErrors.wrappedCallback
dart:async runZonedGuarded
package:pub/src/utils.dart 128:5 captureErrors
package:pub/src/command.dart 190:13 PubCommand.run
package:args/command_runner.dart 212:27 CommandRunner.runCommand
package:pub/src/command_runner.dart 176:24 PubCommandRunner.runCommand
package:pub/src/command_runner.dart 161:20 PubCommandRunner.run
package:dartdev/dartdev.dart 49:47 runDartdev
/opt/s/w/ir/x/w/sdk/pkg/dartdev/bin/dartdev.dart 11:9 main
This is an unexpected error. The full log and other details are collected in:
Is there an existing issue for this?
Version
5.2.0
Command type
build_runner (Default)
What happened?
After
flutter pub run build_runner build --delete-conflicting-outputs
I run this command again and throws error:Null check operator used on a null value
package:pub/src/package_graph.dart 64:53 PackageGraph.transitiveDependencies..
dart:core Iterable.toSet
package:pub/src/package_graph.dart 64:56 PackageGraph.transitiveDependencies.
package:pub/src/utils.dart 664:41 mapMap
package:pub/src/package_graph.dart 62:11 PackageGraph.transitiveDependencies
package:pub/src/package_graph.dart 89:12 PackageGraph.isPackageMutable
package:pub/src/executable.dart 100:33 runExecutable
package:pub/src/command/run.dart 88:26 RunCommand.runProtected
package:pub/src/command.dart 190:45 PubCommand.run.
dart:async new Future.sync
package:pub/src/utils.dart 111:12 captureErrors.wrappedCallback
dart:async runZonedGuarded
package:pub/src/utils.dart 128:5 captureErrors
package:pub/src/command.dart 190:13 PubCommand.run
package:args/command_runner.dart 212:27 CommandRunner.runCommand
package:pub/src/command_runner.dart 176:24 PubCommandRunner.runCommand
package:pub/src/command_runner.dart 161:20 PubCommandRunner.run
package:dartdev/dartdev.dart 49:47 runDartdev
/opt/s/w/ir/x/w/sdk/pkg/dartdev/bin/dartdev.dart 11:9 main
This is an unexpected error. The full log and other details are collected in:
Consider creating an issue on https://github.com/dart-lang/pub/issues/new
and attaching the relevant parts of that log file.
pub finished with exit code 1
Attached logs below
Relevant a pubspec.yaml.
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: