Skip to content
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

downgrade --tighten fails with a workspace #4345

Closed
kevmoo opened this issue Aug 8, 2024 · 0 comments · Fixed by #4346
Closed

downgrade --tighten fails with a workspace #4345

kevmoo opened this issue Aug 8, 2024 · 0 comments · Fixed by #4346
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@kevmoo
Copy link
Member

kevmoo commented Aug 8, 2024

Environment

Dart SDK version: 3.6.0-129.0.dev (dev) (Thu Aug 8 05:02:43 2024 -0700) on "macos_arm64"

Problem

Expected behavior

  • it works!

Actual behavior

Changed 78 dependencies!
75 packages have newer versions incompatible with dependency constraints.
Try `dart pub outdated` for more information.
Null check operator used on a null value
package:pub/src/entrypoint.dart 1405:49                         Entrypoint.tighten
package:pub/src/command/downgrade.dart 100:34                   DowngradeCommand.runProtected
===== asynchronous gap ===========================
package:pub/src/command.dart 196:7                              PubCommand.run
===== asynchronous gap ===========================
package:args/command_runner.dart 212:13                         CommandRunner.runCommand
===== asynchronous gap ===========================
package:dartdev/dartdev.dart 236:18                             DartdevRunner.runCommand
===== asynchronous gap ===========================
package:dartdev/dartdev.dart 47:16                              runDartdev
===== asynchronous gap ===========================
/Volumes/Work/s/w/ir/x/w/sdk/pkg/dartdev/bin/dartdev.dart 13:5  main
This is an unexpected error. The full log and other details are collected in:

    /Users/kevmoo/.pub-cache/log/pub_log.txt

Consider creating an issue on https://github.com/dart-lang/pub/issues/new
and attaching the relevant parts of that log file.
@kevmoo kevmoo added the type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) label Aug 8, 2024
@kevmoo kevmoo changed the title dart downgrade --tighten fails with a workspace downgrade --tighten fails with a workspace Aug 8, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant