Command 'Flutter: New Project' resulted in an error (command 'flutter.createProject' not found) and i cant debug flutter project on VSCODE

Viewed 3848

I have a question. I am using vscode and yesterday VScode is broken and deleted and re-installed But when I debug my project in vscode, there is no response and the computer does not show any error. I couldn't understand where there was an error.I would be very happy if you could help. I cannot progress in the project, please help.enter image description here

2 Answers

I had the same problem and solved it by doing:

  • Uninstall VS Code dart and flutter extensions and close VS Code.
  • After this go to: vscode\extensions and remove all the files.
  • Run VS Code As Administrator.
  • Open VS Code and install dart and flutter extensions.

The cause for me might be that when you uninstall an extension files aren't erased.

I hope I helped you

Install 'Recommended' to the current extensions (shown at the bottom right when you launch VS ). This resolved mine.

Related