-
Notifications
You must be signed in to change notification settings - Fork 112
Can't run flow in cmd when VS Code is open in Windows #260
Comments
Looks like the issue originates in vscode.TextDocument.uri.fsPath which normalizes drive letter to lowercase according to documentation: https://code.visualstudio.com/docs/extensionAPI/vscode-api |
But the issue is not solved though. Does it impact anyone else? Still thinking on a possible solution.
|
Same issue here. |
Any workarounds? |
I think there is none. Paths should be fixed in |
Same issue here on Windows 10, when I'm using Linux Ubuntu 18.04 is work correctly. Anyone did find solution? |
We should do better path comparison in flow server for Windows as described here Next little step would be to check if platform is win32 and lowercase path strings before comparing. It's ocaml tho 🐪 |
I have the same issue. |
For me this was caused by a conflict with the flowtype v1.3.0 VSCode extension. |
@tomdbarker What is the exact issue you are facing? |
"flow is running on a different directory" |
You are using wsl or normal shell? |
thanks @Mayank1791989! i'll fix facebook/flow#6592 so it isn't a problem going forward but will still need your fix for previous versions. |
@mroch When fixed in flow we can put a version check to conditionally apply the fix. |
yarn run flow
. It will fail with output: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?
The text was updated successfully, but these errors were encountered: