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

pub get dependency issue #4503

Open
bishtVivek007 opened this issue Jan 21, 2025 · 5 comments
Open

pub get dependency issue #4503

bishtVivek007 opened this issue Jan 21, 2025 · 5 comments
Labels
needs-info Additional information needed from the issue author

Comments

@bishtVivek007
Copy link

Did not get dependency during pub get.

@sigurdm
Copy link
Contributor

sigurdm commented Jan 23, 2025

You need to give more details.

  • What is you pubspec.yaml?
  • What command did you run?
  • What version of dart/flutter are you using?
  • What was the output?

@sigurdm sigurdm added the needs-info Additional information needed from the issue author label Jan 23, 2025
@pudovd
Copy link

pudovd commented Jan 23, 2025

I have a problem to get dependencies via git.

pubspec.yaml:

dependencies:
  flutter_emoji:
    git: https://github.com/cek-cek/flutter-emoji

result:

$ flutter pub get
Resolving dependencies...
Could not find a file named "pubspec.yaml" in https://github.com/cek-cek/flutter-emoji 2e2da41abf6a928206f44707fdf4d6149f049463.
Failed to update packages.

docker image: ghcr.io/cirruslabs/flutter:3.27.3

I don't know which the reason for this fail.
But I get this error in the GitLab CI pipeline only.

How do I debug it?

@github-actions github-actions bot removed the needs-info Additional information needed from the issue author label Jan 24, 2025
@sigurdm
Copy link
Contributor

sigurdm commented Jan 24, 2025

Try running flutter pub get -v it will show the git calls made by pub.

Maybe one of them are failing?

@pudovd
Copy link

pudovd commented Jan 24, 2025

It helps. Thank you!

I have a trouble with PUB_CACHE variable.

@sigurdm
Copy link
Contributor

sigurdm commented Jan 24, 2025

Is your issue solved?

@sigurdm sigurdm added the needs-info Additional information needed from the issue author label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-info Additional information needed from the issue author
Projects
None yet
Development

No branches or pull requests

3 participants