| --- |
| name: Problem with the pub client |
| about: The pub client is printing a stack trace or failing unexpectedly. |
| |
| --- |
| |
| # Environment |
| |
| <!-- |
| Describe anything relevant to the issue you are seeing. Consider including: |
| - Dart/Flutter version (run `dart --version` or `flutter --version`): |
| - OS kind and version (e.g. "Windows 10, version 1809" or "macOS 12.4"): |
| - In case of network issues |
| * consider running https://github.com/dart-lang/pub-dev/blob/master/app/bin/tools/check_domain_access.dart |
| and adding the output. |
| - Are you using the Chinese community mirror or a corporate firewall? |
| |
| Please use [code fences](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks) |
| when posting logs or code, for large log files please attach them or use a [gist](https://gist.github.com/) |
| |
| Resources: |
| https://flutter.dev/community/china |
| https://www.dart.dev/tools/pub/troubleshoot#pub-get-fails-from-behind-a-corporate-firewall |
| --> |
| |
| # Problem |
| |
| <!-- |
| Please describe the problem in detail, including the specific command that is |
| failing. |
| |
| Was the problem with a specific package you were trying to fetch? |
| |
| If relevant, what does the `pubspec.yaml` file for your project look like: |
| --> |
| |
| ```yaml |
| <copy/paste pubspec.yaml> |
| ``` |
| |
| ## Expected behavior |
| |
| <!-- |
| What did you expect the result of the command to be? |
| --> |
| |
| ## Actual behavior |
| |
| <!-- |
| What actually happened? |
| --> |
| |
| ## `--verbose` output |
| |
| <!-- |
| Consider attaching parts of or the full output run with `--verbose` if relevant. |
| |
| Please use [code fences](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks), for large log files please attach them or use a [gist](https://gist.github.com/) |
| |
| https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/attaching-files |
| --> |