| --- |
| name: Problem with the pub client |
| about: The pub client is printing a stack trace or failing unexpectedly. |
| |
| --- |
| |
| # Environment |
| |
| - Dart version (run `dart --version`): |
| - OS kind and version (e.g. "Windows 10, version 1809" or "macOS 12.4"): |
| - Are you using the Chinese community mirror or a corporate firewall? |
| |
| <!-- |
| 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? |
| --> |
| |
| ## --trace output |
| |
| ``` |
| <copy/paste the full output> |
| ``` |