Skip to content

pub #2562

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

Closed
MrTime111 opened this issue Jul 17, 2020 · 3 comments
Closed

pub #2562

MrTime111 opened this issue Jul 17, 2020 · 3 comments
Labels
needs-info Additional information needed from the issue author

Comments

@MrTime111
Copy link

MrTime111 commented Jul 17, 2020

Closure call with mismatched arguments: function 'StrictDependenciesValidator._findPackages'
Receiver: Closure: (_SyncIterator<_Usage>) => bool
Tried calling: StrictDependenciesValidator._findPackages()
Found: StrictDependenciesValidator._findPackages(_SyncIterator<_Usage>) => bool
dart:core                                                 _SyncIterable.iterator
package:pub/src/validator/strict_dependencies.dart 86:23  StrictDependenciesValidator._validateLibBin
package:pub/src/validator/strict_dependencies.dart 76:5   StrictDependenciesValidator.validate
package:pub/src/validator.dart 132:64                     Validator.runAll.<fn>
dart:async                                                Future.wait
package:pub/src/validator.dart 132:19                     Validator.runAll
package:pub/src/command/lish.dart 218:32                  LishCommand._validate
package:pub/src/command/lish.dart 198:15                  LishCommand.run
package:args/command_runner.dart 197:27                   CommandRunner.runCommand
package:pub/src/command_runner.dart 173:39                PubCommandRunner.runCommand.<fn>
dart:async                                                new Future.sync
package:pub/src/utils.dart 109:12                         captureErrors.<fn>
dart:async                                                runZoned
package:pub/src/utils.dart 126:5                          captureErrors
package:pub/src/command_runner.dart 173:13                PubCommandRunner.runCommand
This is an unexpected error. Please run
@jonasfj
Copy link
Member

jonasfj commented Jul 21, 2020

What dart SDK version is this? What command are you trying to run.

quick note: Please use code fences when posting logs, for large log files please use a gist.

@jonasfj jonasfj added the needs-info Additional information needed from the issue author label Jul 21, 2020
@sigurdm
Copy link
Contributor

sigurdm commented Jul 28, 2020

Closing due to lack of activity. Please reopen with more info.

@sigurdm sigurdm closed this as completed Jul 28, 2020
@natebosch
Copy link
Member

As an FYI this is another case of dart-lang/sdk#41802

When you saw this stack trace you were running something from a snapshot, and rebuilding that snapshot should resolve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-info Additional information needed from the issue author
Projects
None yet
Development

No branches or pull requests

4 participants