+ flutter packages get
Running "flutter pub get" in build...
Resolving dependencies...
The current Dart SDK version is 2.19.4.
Because vision_mobile_erp requires SDK version >=3.0.2 <4.0.0, version solving failed.
pub get failed
command: "/sdks/flutter/bin/cache/dart-sdk/bin/dart __deprecated_pub --directory . get --example"
pub env: {
"FLUTTER_ROOT": "/sdks/flutter",
"PUB_ENVIRONMENT": "flutter_bot:flutter_cli:get",
"PUB_CACHE": "/root/.pub-cache",
}
exit code: 1
Hi @Alex and welcome to the community!
Can you please confirm if you are using Bitbucket Cloud and if this is the output of a command in a Bitbucket Pipelines build?
If you are indeed using Bitbucket Cloud Pipelines:
Builds running on Atlassian's infrastructure or with a Linux Docker self-hosted runner run in Docker containers based on the image you specify in your bitbucket-pipelines.yml file. If the Dart SDK is preinstalled in the image, you will see in the build output the version of that SDK. If your build needs a different version, you can use another Docker image as a build container that has a different, compatible version of that SDK. Alternatively, you could also build your own custom Docker image that has the version you want, and use that as a build container.
We support public and private Docker images including those hosted on Docker Hub, AWS, GCP, Azure and self-hosted registries accessible on the internet. You can find more info on the following page:
Builds running with a Windows, Linux Shell, or MacOS runner run directly on the host machine and not in Docker containers. If you're running this Pipelines build with such a runner, the version of the SDK you see is the one installed on the host machine. In that case, you'll need to update/install a newer version of the SDK on the host machine.
Please feel free to reach out if you have any questions.
Kind regards,
Theodora
@Theodora Boudale , pls you can provide help , i don't know what is the problem if have you any way to contact with you , im try to slove this error from 28 day ago
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mohammad,
I see that one of my colleagues replied to your question!
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am very grateful to him, I did not notice this error despite many attempts. I really thank you for your interest in responding, I did not find better support than Atlassian teams
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Theodora Boudale ,
You can advise for a solution or any thing about this issue -> https://community.atlassian.com/t5/Pipelines-questions/Issue-Missing-Files-in-Build-Output-Bitbucket-Pipelines/qaq-p/2803492
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.