Let's learn how to set up Facebook's Flow inside of a project and write a simple typecheck task that will let us run Flow against any files in our codebase.
You should append
; exit 0 to your npm script to suppress the unnecessary error messages.
I know you are using vim but how to go to flow (stuff what happens at 0:15) using normal power shell and webstorm or vscode?
When I try to follow those instruction in power shell I get those errors: PS C:\Users\DamianJoniec\documents\flow-init\node_modules.bin> flow init flow : The term 'flow' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1
+ CategoryInfo : ObjectNotFound: (flow:String) , CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Suggestion [3,General]: The command flow was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\flow". See "get-help about_Command_Precedence" for more details. PS C:\Users\DamianJoniec\documents\flow-init\node_modules.bin>