-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]https://github.com/leoafarias/fvm/issues/638 report in fvm version:3.1.3 #707
Comments
Can you tell me the version of fvm also run the command with the |
3.1.3 |
@dujj Can you run with the |
@dujj Based on those logs, it seems there is an fvm config in that /work directory. So it's looking for the config file instead of the pubspec because of nested directories. Therefore, the message indicates that there is no pubspec found in the same directory where the project config is located. |
Command: use Searching for project in /Users/k/Documents/work/123/test No pubspec.yaml detected in this directory Updating project config Checking .gitignore Running: /Users/k/fvm/versions/3.19.6/bin/flutter ✓ Dependencies resolved. (0ms) ✓ Project now uses Flutter SDK : SDK Version : 3.19.6` |
see : but: right: project find failed, so all wrong |
I clean work,result: Argument information:
Command: use Searching for project in /Users/k/Documents/work/123/test Updating project config Checking .gitignore ✓ Project now uses Flutter SDK : SDK Version : 3.19.6 This operation was as expected But I still don’t understand why the search is not in the current directory to determine whether there is a problem with the conditions of a project, and why it is searched recursively upwards. |
Before creating a bug report please make check the following
pub cache repair
. Close the terminal and try again.administrator
or withdeveloper
permissions.fvm doctor
if possible and add the output to the issue.Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
fvm use stable
...Expected behavior
A clear and concise description of what you expected to happen.
Logs
Please provide the verbose logs by running
--verbose
after the command.Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: