Flutter安裝之后cmd運行錯誤解決


當把Flutter環境變量配置之后,打開cmd輸入:flutter

出現如下錯誤:

'MySQL' is not recognized as an internal or external command,
operable program or batch file.
'MySQL' is not recognized as an internal or external command,
operable program or batch file.
'where' is not recognized as an internal or external command,
operable program or batch file.
Error: Unable to find git in your PATH.

與MySQL有啥關系???

解決方法:

從系統環境變量中移除環境變量中的以下兩個:

C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\;

C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\Doctrine extensions for PHP\; 

 

參考地址:https://github.com/flutter/flutter/issues/17907

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM