Skip to content

flutter create xxx #2078

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
ZhangLiuCheng opened this issue Feb 26, 2019 · 2 comments
Closed

flutter create xxx #2078

ZhangLiuCheng opened this issue Feb 26, 2019 · 2 comments

Comments

@ZhangLiuCheng
Copy link

ZhangLiuCheng commented Feb 26, 2019

Running "flutter packages get" in f_test...
HTTP error 424: Failed Dependency
package:pub/src/http.dart 218:5 _ThrowingClient.send
===== asynchronous gap ===========================
package:http_throttle/http_throttle.dart 33:31 ThrottleClient.send
===== asynchronous gap ===========================
package:pub/src/source/hosted.dart 301:37 BoundHostedSource._download
===== asynchronous gap ===========================
package:pub/src/source/hosted.dart 196:13 BoundHostedSource.downloadToSystemCache
===== asynchronous gap ===========================
package:pub/src/entrypoint.dart 371:48 Entrypoint._get.
===== asynchronous gap ===========================
package:pub/src/http.dart 271:51 withDependencyType
package:pub/src/entrypoint.dart 367:12 Entrypoint._get
dart:async Future.wait
package:pub/src/entrypoint.dart 228:18 Entrypoint.acquireDependencies
dart:async _completeOnAsyncReturn
package:pub/src/solver/version_solver.dart VersionSolver.solve
dart:async _completeOnAsyncReturn
package:pub/src/solver/version_solver.dart VersionSolver._result
This is an unexpected error. Please run
pub --trace --verbosity=warning get --no-precompile
and include the logs in an issue on https://github.com/dart-lang/pub/issues/new

./pub --trace --verbosity=warning get --no-precompile
Could not find a file named "pubspec.yaml" in "/Users/admin/zhangliucheng/software/flutter/bin/cache/dart-sdk/bin".
---- Log transcript ----
FINE: Pub 2.1.0-dev.9.4.flutter-f9ebf21297
ERR : Could not find a file named "pubspec.yaml" in "/Users/admin/zhangliucheng/software/flutter/bin/cache/dart-sdk/bin".
FINE: Exception type: FileException
FINE: package:pub/src/pubspec.dart 457:7 new Pubspec.load
| package:pub/src/package.dart 127:27 new Package.load
| package:pub/src/entrypoint.dart 153:24 new Entrypoint.current
| package:pub/src/command.dart 31:59 PubCommand.entrypoint
| package:pub/src/command/get.dart 41:12 GetCommand.run
| package:args/command_runner.dart 194:27 CommandRunner.runCommand
| ===== asynchronous gap ===========================
| dart:async _AsyncAwaitCompleter.completeError
| package:args/command_runner.dart CommandRunner.runCommand
---- End log transcript ----

@zoechi
Copy link

zoechi commented Feb 26, 2019

Possible duplicate of flutter/flutter#28498

@jonasfj
Copy link
Member

jonasfj commented Mar 4, 2019

Please reopen if this is still an issue, it looks like the issues that the Chinese community mirror had...

@jonasfj jonasfj closed this as completed Mar 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants