gpt4 book ai didi

azure - azure function 项目的运行命令中生成错误

转载 作者:行者123 更新时间:2023-12-03 05:21:09 27 4
gpt4 key购买 nike

我正在运行 azure 项目并收到以下错误

Azure Functions Core ToolsCore Tools Version: 3.0.3216 Commit hash: 91e025087513e9e0f3ad02442e35e2f58b40d1b3Function Runtime Version: 3.0.15193.0Skipping 'JAVA_HOME' from local settings as it's already defined in current environment variables.[2022-05-16T14:25:28.863Z] File 'C:\Program Files\dotnet\dotnet.exe' is not found, 'dotnet' invocation will rely on the PATH environment variable.[2022-05-16T14:25:39.649Z] File 'C:\Program Files\dotnet\dotnet.exe' is not found, 'dotnet' invocation will rely on the PATH environment variable.[2022-05-16T14:25:40.239Z] File 'C:\Program Files\dotnet\dotnet.exe' is not found, 'dotnet' invocation will rely on the PATH environment variable.[2022-05-16T14:25:40.646Z] File 'C:\Program Files\dotnet\dotnet.exe' is not found, 'dotnet' invocation will rely on the PATH environment variable.[2022-05-16T14:25:40.727Z] Worker process started and initialized.

我已经在系统中安装了AzureFunction工具在intellij中安装了Azure Toolkit Plugin

最佳答案

请检查以下步骤是否有帮助,因为它正在我们这边工作:

  1. File 'C:\Program Files\dotnet\dotnet.exe' is not found, 'dotnet' invocation will rely on the PATH environment variable.

看起来 dotnet 未包含在系统环境变量路径中。

如何找到这个

单击 Windows 🪟 搜索按钮 > 键入环境变量 > 打开并单击 🖱️ 环境变量 > 检查系统中可用的这些路径:

enter image description here

如果找不到 dotnet,请安装最新的 SDK of dotnet并在安装后使用命令提示符中的命令进行检查:dotnet --version

如果任何路径不可用,请将这些路径包含在系统的环境变量中。

此外,在同一对话框中检查用户变量:

enter image description here

此后,检查一下已安装的所需工具以及此MSFT Doc中提到的步骤。遵循,然后尝试运行该函数。

关于azure - azure function 项目的运行命令中生成错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72287438/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com