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

:CocCommand flutter.run does nothing #151

Open
lukepighetti opened this issue Apr 22, 2022 · 6 comments
Open

:CocCommand flutter.run does nothing #151

lukepighetti opened this issue Apr 22, 2022 · 6 comments

Comments

@lukepighetti
Copy link

lukepighetti commented Apr 22, 2022

If I run :CocCommand flutter.run, I see the notice in the upper left Starting flutter dev server... and nothing attaches to my iOS simulator

I do see my device in :CocCommand flutter.devices

@lukepighetti
Copy link
Author

It fails silently, I was not in the right folder. Would be nice if it showed errors when trying to run

@dkbast
Copy link

dkbast commented May 10, 2022

I would second that - for me it says server is running but I can't interact with it (e.g. doing a hot restart)

@lukepighetti
Copy link
Author

Does anyone have this working? I can't get this to launch anything on iOS Simulator

@Kavantix
Copy link
Collaborator

Kavantix commented Sep 8, 2022

Sorry somehow missed this issue.
For me it still works perfectly, can you supply the information requested in the issue template.
@dkbast yours would also be helpful :)

@martin-braun
Copy link

martin-braun commented Dec 22, 2022

This issue is causing trouble when developing packages instead of apps. The main.dart is located in example/lib instead of lib, so the dev server won't start.

@Kavantix @iamcco Please clone and open my package https://github.com/martin-braun/google_maps_place_picker_mb/ in Neovim, open example/lib/main.dart and try to launch the server. This won't work.

I can bypass this by navigating to the example folder, but this is a bit annoying, because I might edit my plugin's code at the same time. Can this be fixed neatly? This Vim plugin should detect if I'm in an App project vs plugin project.

@happysmile12321
Copy link

@lukepighetti 1. make sure you have enter flutter devices, chose your target devices you want to run.If you use enumrate on Mac, using enumlate to open it,then excute run.2.make sure you have not set http_proxy,which could caused socket not works as well!

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

No branches or pull requests

5 participants