Flutter Error: No pubspec.yaml file found. How to fix it?

Phong Yew Tong
Jan 2, 2022
flutter No pubspec.yaml file found
Photo by Brett Jordan on Unsplash

How to fix this error on flutter? On your console, it actually gives some hints.

flutter No pubspec.yaml file found

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

Run this command in your project directory, where pubspec.yaml is available.

flutter run

Drop me some claps if this article helps you, it motivates me to create more! Thanks! πŸ‘πŸ‘πŸ‘

--

--

Phong Yew Tong

I will follow you back. Entrepreneurship, React, Flutter, Firebase, Typescript, Javascript, ChatGPT, Crypto. Visit www.aiwithwords.com