Murtada Yahya
Murtada Yahya

Reputation: 9

When i press run flutter it is show "Error: No pubspec.yaml file found. This command should be run from the root of your Flutter project. :"

When I press run flutter it is show

Error: No pubspec.yaml file found. This command should be run from the root of your Flutter project.

the Error image enter image description here

flutter doctor enter image description here

How can I fix it?

Upvotes: -1

Views: 2076

Answers (1)

Akif
Akif

Reputation: 7660

The ua is not the correct directory for your project. You need to change your working directory with:

 cd ali

Then, you can flutter run.

Upvotes: 2

Related Questions