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

"Failed to run flutter pub get" #14

Closed
Cal-Hagner opened this issue May 23, 2020 · 4 comments
Closed

"Failed to run flutter pub get" #14

Cal-Hagner opened this issue May 23, 2020 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@Cal-Hagner
Copy link

Describe the bug
When flutter pub run import_sorter:main is run, it exits with exit code 127, and fails to run flutter pub get. However, when flutter pub get is run individually of flutter pub run import_sorter:main, it works fine, and running flutter pub get -v produces the expected output, all exit codes 0.

To Reproduce
I ran flutter pub run import_sorter:main. I am using import_sorter 3.0.5, Ubuntu 19.10, Flutter 1.8.0-11.1.pre on channel beta, and Dart 2.9.0-8.2.beta.

Expected behavior
I expected the program to run properly, or at the very least, not fail on flutter pub get, but rather another step.

Screenshots
image
image

Meta Information:

  • Dart Version:
  • import_sorter Version: ^3.0.5
  • Is it a Flutter project? Yes.
  • What version of Flutter are you using (if flutter project): 1.8.0-11.1.pre on channel beta
@Cal-Hagner Cal-Hagner added the bug Something isn't working label May 23, 2020
@github-actions
Copy link

👋 Hello! Thanks for submitting a issue 😄! @Matt-Gleich Will try to respond as soon as possible.

@Cal-Hagner
Copy link
Author

This is an interesting exit code, as it signifies that flutter pub get does not exist, which doesn't make sense, for, as you can see in the screenshots, flutter pub get certainly does exist.

@gleich
Copy link
Member

gleich commented May 23, 2020

Are you running this in windows? It might be having the same process error that we had with morse module.

@gleich
Copy link
Member

gleich commented May 23, 2020

Yeah just tested it on macOS and works fine for me.

@gleich gleich self-assigned this May 23, 2020
@gleich gleich closed this as completed in 88d4119 May 23, 2020
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

2 participants