close
The Wayback Machine - https://web.archive.org/web/20201130094307/https://github.com/brianegan/flutter_architecture_samples/issues/114
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

Run flutter packages get for all the projects. #114

Open
feinstein opened this issue Feb 21, 2019 · 12 comments
Open

Run flutter packages get for all the projects. #114

feinstein opened this issue Feb 21, 2019 · 12 comments

Comments

@feinstein
Copy link

@feinstein feinstein commented Feb 21, 2019

I don't know if this is even possible, but it will be nice to have a way to run flutter packages get only once and have all the projects dependencies satisfied at once.

@mmcc007
Copy link
Collaborator

@mmcc007 mmcc007 commented Feb 22, 2019

There's a script for that:

scripts/ci.sh --get
@feinstein
Copy link
Author

@feinstein feinstein commented Feb 22, 2019

Interesting, this should be on the Readme.md (if it is I missed it completely)

@mmcc007
Copy link
Collaborator

@mmcc007 mmcc007 commented Feb 22, 2019

Well, I suppose it was not anticipated it would come up... but now that you mention it.. it should probably be in there.

@george2seven
Copy link

@george2seven george2seven commented Jan 29, 2020

Hello,

I am trying to run this script on Windows 10 and I am getting the following error:

Cannot read link, path = [folder name] (OS Error: The file or directory is not a reparse point. , errno = 4390) Running "flutter pub get" in redux... pub get failed (66; , errno = 4390))

After digging around a bit the problem seems to be with the pubspec.yaml referencing other parts of the app and Windows (or flutter ?) not been able to complete the task or fine the path(?).

I've also tried running flutter package get in individual folders and the problem repeats in the ones that have reference in other folders in the pubspec.yaml.

Can you please provide some assistance as to how I can run the project on Windows 10?

Thank you very much

@brianegan
Copy link
Owner

@brianegan brianegan commented Jan 29, 2020

Oh boy, sorry about that @george2seven -- I'll admit I never use Windows and kinda assumed the Flutter / Dart tools would handle / vs \ in yaml files properly for us :/

I'll rig up my Windows 10 gaming machine with a Flutter environment to see if I can get this one fixed up. Thanks for reporting :)

@george2seven
Copy link

@george2seven george2seven commented Jan 29, 2020

Thank you very much @brianegan !

@ride4sun
Copy link

@ride4sun ride4sun commented May 23, 2020

what is the status of this?

@feinstein
Copy link
Author

@feinstein feinstein commented May 23, 2020

The Flutter tool has something similar for getting all the dependencies of all the Flutter git main repo, maybe this can be adapted? I never tried, but maybe it's compatible?

@ride4sun
Copy link

@ride4sun ride4sun commented May 27, 2020

@feinstein can you elaborate?

@feinstein
Copy link
Author

@feinstein feinstein commented May 27, 2020

Check the Flutter repo for "Contributing", there they explain how to setup your environment, download the code and etc. One of the steps is to use the Flutter tool to fetch all the dependencies of all the inner projects with their respectives YAML. I at my phone right now, otherwise I would point it out. If you can't find it, please let me know.

@ride4sun
Copy link

@ride4sun ride4sun commented May 29, 2020

Sorry looked into the repos. but could not find what you are talking about.

@feinstein
Copy link
Author

@feinstein feinstein commented May 30, 2020

Take a look at here, it makes a reference to:

flutter update-packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.