Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I cannot run Flow type in Sublime Text 3

I tried installing Flow Type for my Sublime Text 3 on Windows 7.

Issue is:

  • Sublime text is installed on partition F:\
  • File I want to manipulate with Flow type is on SMB disc - W:\yourplace.sk\assets\send_data.js
  • I added also /* @flow */ before content of the javascript

But I get the error

[WinError 2] system cannot find the file specified flow type
[cmd: ['flow', 'check', 'W:\\yourplace.sk\\assets\\send_data.js']]
[dir: W:\yourplace.sk\assets]
output of PATH variable is here below.

Thank you.

like image 525
marhyno Avatar asked Dec 07 '25 11:12

marhyno


1 Answers

OdatNurd - thanks, I must say that either I am lazy, or complete tutorial for windows is easy to overlook as I spent some time adding flow.exe to some directory where PATH variable is checking for commands. Solution: I added this flow.exe to one of the folders which is checked by environment PATH, deleted package Flow.sublime from C:\Users\\AppData\Roaming\Sublime Text 3\Packages\User and also Package control cache, restarted Sublime 3 - and now it works and I can run flow with CTRL+Shift+P = Flow, enter ... and it works and checks :)

like image 126
marhyno Avatar answered Dec 10 '25 01:12

marhyno



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!