无法在本地 windows 中安装 Azure Functions Core 工具版本 3
Unable to install the Azure Functions Core tools version 3 in windows locally
以前,我有 azure functions 核心工具版本 3。
出于练习目的,我使用以下命令安装了 azure functions 核心工具版本 2:
npm i -g azure-functions-core-tools@2 --unsafe-perm true
现在,我正在尝试安装最新的 azure Functions 核心工具版本 3,但我通过 PowerShell 或从 GitHub(下载和安装应用程序)尝试了多少次,它没有更新。它仍然显示版本 2.x
下面的代码是我试过的:
PS C:\Users\krishna> func --version
2.7.3188
PS C:\Users\krishna> npm i -g azure-functions-core-tools@3 --unsafe-perm true
C:\Users\krishna\AppData\Roaming\npm\azurefunctions -> C:\Users\krishna\AppData\Roaming\npm\node_modules\azure-functions-core-tools\lib\main.js
C:\Users\krishna\AppData\Roaming\npm\func -> C:\Users\krishna\AppData\Roaming\npm\node_modules\azure-functions-core-tools\lib\main.js
C:\Users\krishna\AppData\Roaming\npm\azfun -> C:\Users\krishna\AppData\Roaming\npm\node_modules\azure-functions-core-tools\lib\main.js
> azure-functions-core-tools@3.0.3904 postinstall C:\Users\krishna\AppData\Roaming\npm\node_modules\azure-functions-core-tools
> node lib/install.js
attempting to GET "https://functionscdn.azureedge.net/public/3.0.3904/Azure.Functions.Cli.win-x64.3.0.3904.zip"
[==================] Downloading Azure Functions Core Tools
Telemetry
---------
The Azure Functions Core tools collect usage data in order to help us improve your experience.
The data is anonymous and doesn't include any user specific or personal information. The data is collected by Microsoft.
You can opt-out of telemetry by setting the FUNCTIONS_CORE_TOOLS_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
+ azure-functions-core-tools@3.0.3904
added 51 packages from 31 contributors in 463.874s
PS C:\Users\krishna> func --version
2.7.3188
PS C:\Users\krishna> func version
2.7.3188
PS C:\Users\krishna>
而我的节点安装版本是14.x。
任何人都可以帮助我如何在 windows 系统(本地)中安装 Azure Functions 核心工具 v3?
这可能是由于节点版本。当我尝试将最新的节点版本用于 16v 和 8v 的 npm 时,我可以将我的 azure 函数工具版本从 2v 更改为 3v 或 3v 为 2v(即。可互换)。
这是截图供您参考。
以前,我有 azure functions 核心工具版本 3。
出于练习目的,我使用以下命令安装了 azure functions 核心工具版本 2:
npm i -g azure-functions-core-tools@2 --unsafe-perm true
现在,我正在尝试安装最新的 azure Functions 核心工具版本 3,但我通过 PowerShell 或从 GitHub(下载和安装应用程序)尝试了多少次,它没有更新。它仍然显示版本 2.x
下面的代码是我试过的:
PS C:\Users\krishna> func --version
2.7.3188
PS C:\Users\krishna> npm i -g azure-functions-core-tools@3 --unsafe-perm true
C:\Users\krishna\AppData\Roaming\npm\azurefunctions -> C:\Users\krishna\AppData\Roaming\npm\node_modules\azure-functions-core-tools\lib\main.js
C:\Users\krishna\AppData\Roaming\npm\func -> C:\Users\krishna\AppData\Roaming\npm\node_modules\azure-functions-core-tools\lib\main.js
C:\Users\krishna\AppData\Roaming\npm\azfun -> C:\Users\krishna\AppData\Roaming\npm\node_modules\azure-functions-core-tools\lib\main.js
> azure-functions-core-tools@3.0.3904 postinstall C:\Users\krishna\AppData\Roaming\npm\node_modules\azure-functions-core-tools
> node lib/install.js
attempting to GET "https://functionscdn.azureedge.net/public/3.0.3904/Azure.Functions.Cli.win-x64.3.0.3904.zip"
[==================] Downloading Azure Functions Core Tools
Telemetry
---------
The Azure Functions Core tools collect usage data in order to help us improve your experience.
The data is anonymous and doesn't include any user specific or personal information. The data is collected by Microsoft.
You can opt-out of telemetry by setting the FUNCTIONS_CORE_TOOLS_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
+ azure-functions-core-tools@3.0.3904
added 51 packages from 31 contributors in 463.874s
PS C:\Users\krishna> func --version
2.7.3188
PS C:\Users\krishna> func version
2.7.3188
PS C:\Users\krishna>
而我的节点安装版本是14.x。
任何人都可以帮助我如何在 windows 系统(本地)中安装 Azure Functions 核心工具 v3?
这可能是由于节点版本。当我尝试将最新的节点版本用于 16v 和 8v 的 npm 时,我可以将我的 azure 函数工具版本从 2v 更改为 3v 或 3v 为 2v(即。可互换)。
这是截图供您参考。