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

Import of Github repository failed due to low Dart SDK version #149

Open
nank1ro opened this issue Jun 25, 2023 · 0 comments
Open

Import of Github repository failed due to low Dart SDK version #149

nank1ro opened this issue Jun 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@nank1ro
Copy link

nank1ro commented Jun 25, 2023

Description

The current Dart SDK version is 2.19.2.
My projects needs Dart >= 3.0.0

Error Code: pub_get_failed

The following error was thrown whilst importing the project from GitHub:

The current Dart SDK version is 2.19.2.

Because github_search requires SDK version >=3.0.0 <4.0.0, version solving failed.
pub get failed
command: "/zapp/sdk/bin/cache/dart-sdk/bin/dart __deprecated_pub --directory . get --example"
pub env: {
  "FLUTTER_ROOT": "/zapp/sdk",
  "PUB_ENVIRONMENT": "flutter_cli:get",
  "PUB_CACHE": "/zapp/pub/.pub_cache/9058f42c-fbb0-4b4a-8088-d9e6ab7706ccOBGEEQ",
}
exit code: 1

The link I've tried: https://zapp.run/github/nank1ro/solidart/tree/dev/examples/github_search

@nank1ro nank1ro added the bug Something isn't working label Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant