Open bsudhanva opened 3 months ago
@bsudhanva We cannot assume the current directory as the project directory due to the monorepo setup. However, maybe we can do some printing or logging to let people know which directory it is using. Also, you can force the creation of a .fvmrc in that directory by using the --force
flag.
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. when i use "fvm use x.y.z" commands it considers my root/home directory and creates a .fvmrc in it, instead of my project directory
To Reproduce Steps to reproduce the behavior:
fvm use stable
...Using .fvmrc in C:\Users\myusername
If this is incorrect either use the --force flag or remove the .fvmrc and the .fvm directory.
Skipping "pub get" because no pubspec.yaml found.
✓ Project now uses Flutter SDK : Channel: Stable
fvm use stable --force [WARN] Not checking for version mismatch as --force flag is set. Skipping "pub get" because no pubspec.yaml found.
✓ Project now uses Flutter SDK : Channel: Stable
C:\Users\MyUserName\projects\learningdart> fvm doctor FVM Doctor:
Project: │ Project │ MyUsername │ ├─────────────────────────────┼──────────────────────────────────────┤ │ Directory │ C:\Users\Myusername │ ├─────────────────────────────┼──────────────────────────────────────┤ │ Active Flavor │ None │ ├─────────────────────────────┼──────────────────────────────────────┤ │ Is Flutter Project │ No