'When adding a flutter dependencies in terminal, but it showing in terminal "Expected to find project root in current working directory."
In my project, When adding a flutter dependencies in terminal, but it showing in terminal "Expected to find project root in current working directory."
Solution 1:[1]
You are not in your root directory of the project.
Example:
If your project is in c:\Projects\MyProject
then make sure you are in this directory before running the command. Also, share the screenshot of the error.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Harish |