Skip to content

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

Closed as not planned

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

Activity

  1. linghengqian commented on Sep 13, 2026

    @linghengqian
    Member
    • Your image doesn't seem to be related to your issue.
    • Image
  2. linghengqian commented on Sep 13, 2026

    @linghengqian
    Member

    I think we need to add end-to-end (E2E) CI for the Flutter plugin.

  3. self-assigned this
    on Sep 13, 2026
  4. linghengqian commented on Sep 16, 2026

    @linghengqian
    Member

    I was unable to reproduce the issue you described at #13 ; everything works fine on Windows Server 2025. If you do not provide further information, I will close the issue in a month.

    . $PROFILE
    vfox add flutter
    vfox install flutter@3.47.4
    vfox use --global flutter@3.47.4
    dart --version
    flutter --version --no-version-check
  5. removed their assignment
    on Sep 16, 2026
  6. added
    questionFurther information is requested
    invalidThis doesn't seem right
    and removed
    bugSomething isn't working
    questionFurther information is requested
    on Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions