简体   繁体   中英

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.

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 :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM