'very_good' 不是内部或外部命令,也不是可运行的程序或批处理文件
'very_good' is not recognized as an internal or external command, operable program or batch file
我试图用这个命令在 flutter 中激活 very_good_cli
:
dart pub global activate very_good_cli
结果是这样的:
...
...
...
Building package executables...
Built very_good_cli:very_good.
Installed executable very_good.
Warning: Pub installs executables into ~\AppData\Local\Pub\Cache\bin, which is not on your path.
You can fix that by adding that directory to your system's "Path" environment variable.
A web search for "configure windows path" will show you how.
Activated very_good_cli 0.7.2.
我也添加了 ~\AppData\Local\Pub\Cache\bin
到系统路径,但这个警告仍然存在,我得到的错误是:
'very_good' is not recognized as an internal or external command,
operable program or batch file
我该如何解决?
所以在运行 dart pub global activate very_good_cli
并在系统环境变量的Path 中添加到...\Pub\Cache\bin
的路径后, 重新启动 windows 解决了问题。
我试图用这个命令在 flutter 中激活 very_good_cli
:
dart pub global activate very_good_cli
结果是这样的:
...
...
...
Building package executables...
Built very_good_cli:very_good.
Installed executable very_good.
Warning: Pub installs executables into ~\AppData\Local\Pub\Cache\bin, which is not on your path.
You can fix that by adding that directory to your system's "Path" environment variable.
A web search for "configure windows path" will show you how.
Activated very_good_cli 0.7.2.
我也添加了 ~\AppData\Local\Pub\Cache\bin
到系统路径,但这个警告仍然存在,我得到的错误是:
'very_good' is not recognized as an internal or external command,
operable program or batch file
我该如何解决?
所以在运行 dart pub global activate very_good_cli
并在系统环境变量的Path 中添加到...\Pub\Cache\bin
的路径后, 重新启动 windows 解决了问题。