Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Can't run flow in cmd when VS Code is open in Windows #260

@edele

Description

@edele
flow is running on a different directory.
server_root: c:\Users\edele\flowtest, client_root: C:\Users\edele\flowtest
  1. Open VS Code in any project, wait flow to initialize
  2. Run yarn run flow. It will fail with output:
C:\Users\edele\flowtest>yarn run flow
yarn run v1.7.0
$ C:\Users\edele\flowtest\node_modules\.bin\flow
flow is running on a different directory.
server_root: c:\Users\edele\flowtest, client_root: C:\Users\edele\flowtest
error Command failed with exit code 14.

I use cmd.exe in Windows 10.
I run flow in cmd to see all errors in a project, not just in open files.

Should it be fixed in flow-for-vscode extension or in flow-bin itself?
Is there a workaround?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions