Skip to content

[BUG]: After using vfox activate, the global option becomes invalid. #680

Description

@berial

Version
1.0.11
OS
Win11

Describe the bug
After adding Invoke-Expression "$(vfox activate pwsh)" to my POWERSHELL $PROFILE, I ran vfox use -g flutter@3.41.9. When I then called flutter, I got the error:

flutter: The term 'flutter' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

If I remove the Invoke-Expression "$(vfox activate pwsh)" line, flutter works normally, but then vfox use -p has no effect.

Screenshots[optional]
QQ20260630-161450.png

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions