Reputation: 25
Could not find an option with short name "-n".
Run 'flutter -h' (or 'flutter -h') for available flutter commands and options. Exited (64)
Upvotes: 1
Views: 2418
Reputation: 42333
It sounds like some unexpected arguments are being passed to flutter
when you try to run. These could come from a few different places:
.vscode/launch.json
file, and whether you have anything unexpected in the args
To find out exactly what command VS Code is trying to run:
Upvotes: 1