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

New project has broken configuration when git is not in path #857

Open
mit-mit opened this issue Mar 30, 2017 · 3 comments
Open

New project has broken configuration when git is not in path #857

mit-mit opened this issue Mar 30, 2017 · 3 comments

Comments

@mit-mit
Copy link
Member

mit-mit commented Mar 30, 2017

On Windows, with IDEA CE 2017.1:

  1. Use a "clean" IDEA with no plugins installed
  2. Install the RC .jar, restart
  3. Create new project, incl. enter path to flutter

=> project is created but has broken config:

Project view shows no Dart code:
image

Launch config has red error cross:
image

@mit-mit mit-mit added this to the M12 milestone Mar 30, 2017
@mit-mit
Copy link
Member Author

mit-mit commented Mar 30, 2017

Confirmed that Dart SDK is correctly set in settings

@mit-mit
Copy link
Member Author

mit-mit commented Mar 30, 2017

Hmm, Flutter settings complains that git is not in path. Closing IJ, adding git to path, starting IJ, and creating new project works fine!

But a pretty silent way to fail so badly

@mit-mit mit-mit changed the title New project has broken configuration New project has broken configuration when git is not in path Mar 30, 2017
@devoncarew
Copy link
Member

I'm going to assume that we were able to call flutter create, but that it must have failed with an error. We should do a better job of bubbling that up to the user as part of the project create process.

As part of this, we should probably do more of the creation before we leave the wizard dialog. Currently we do a lot of it in the newly created IntelliJ window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants