简体   繁体   English

“颤抖的医生”卡住了,颤振命令均无效

[英]“flutter doctor” stucked, none of the flutter command working

I am running flutter on my windows machine, it was working earlier and I have created demo project with it. 我在Windows机器上运行flutter,它运行得更早了,我已经用它创建了演示项目。

Today when I run VSCode it asked me to update flutter and I did, but when it is updated it is not able to run any command. 今天,当我运行VSCode时,它要求我更新抖动,而我做了,但是当它更新时,它无法运行任何命令。 It doesn't do anything, neither error nor success. 它什么都不做,既没有错误也没有成功。 It just get stucked with any flutter command. 它只是卡住了任何颤振命令。

在此处输入图片说明

在此处输入图片说明

Note : It was working earlier, so there is no chance of setting environment variables, still I have double checked it and it is there. 注意:它已经开始工作,因此没有设置环境变量的机会,但我还是对其进行了仔细检查。

I did not find any solution for this so the last available approach for me was to reinstall flutter SDK and it worked. 我没有找到任何解决方案,因此对我来说,最后一种可用的方法是重新安装flutter SDK,它可以正常工作。

Note: If you are windows user, you might get an error about PowerShell version, you must have PowerShell version greater than 5.1 注意:如果您是Windows用户,则可能会遇到有关PowerShell版本的错误,您的PowerShell版本必须大于5.1。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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