英文:
"func --version" command from cmd returns CommandNotFoundException. Why func command is not working from commandline?
问题
翻译结果:
func:该术语“func”未被识别为 cmdlet、函数、脚本文件或可操作的程序的名称。
检查名称的拼写,或者如果包含了路径,请验证路径是否正确,然后重试。
在行:1 字符:1
+ func --version
+ ~~~~
+ CategoryInfo:ObjectNotFound: (func:String) [],CommandNotFoundException
+ FullyQualifiedErrorId:CommandNotFoundException
来自命令行:
func --version
英文:
func : The term 'func' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
- func --version
-
+ CategoryInfo : ObjectNotFound: (func:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
from commandline:
func --version
答案1
得分: 0
请检查您的系统中是否已安装Azure Functions Core Tools。
转到控制面板 > 程序 > 程序和功能 >
然后您可以从命令提示符中检查函数版本:
如果上述工具未安装,您可以从MS Doc安装它。
英文:
Check if you have installed the Azure Functions Core Tools in your System.
Go to Control Panel > Programs > Programs and Features >
and then you check the function version from the command prompt:
If the above tool is not installed, you can install from this MS Doc.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论