I have private repo in github, and use it as a packages in my project. in pubspec.yaml i write it like these.
dependencies:
shared_preferences: ^0.4.3
atomic_app_customer_musteat_id:
git: [email protected]:organization/my_github_repo_ssh .git
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
but then the error is "Could not find a file named "pubspec.yaml" in my github_repo"
I have added ssh in my account, and trying to configuring machine user in github. Then I tried to change it to normal https link, and no errors. but when I tried build on ci/cd in bitrise and get error.
pub get failed (69) -- attempting retry 5 in 16 seconds...
Git error. Command: git fetch
fatal: not a git repository
But still can't figure it out how to solve this issue.
--template=package
, or is it a simple project? – Planksheer