[英]I cannot run Flow type in Sublime Text 3
I tried installing Flow Type for my Sublime Text 3 on Windows 7. 我尝试在Windows 7上为我的Sublime Text 3安装Flow Type。
Issue is: 问题是:
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. OdatNurd - 谢谢,我必须说我懒惰,或完整的Windows教程很容易被忽略,因为我花了一些时间将flow.exe添加到PATH变量检查命令的某个目录。 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 :)
解决方案:我将此flow.exe添加到由环境PATH检查的其中一个文件夹中,从C:\\ Users \\\\ AppData \\ Roaming \\ Sublime Text 3 \\ Packages \\ User以及Package控件缓存中删除了包Flow.sublime,重新启动Sublime 3 - 现在它可以工作了,我可以用CTRL + Shift + P = Flow运行流程,输入......它可以工作并检查:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.