【发布时间】:2021-02-10 18:31:45
【问题描述】:
我想使用 Node.js v12.x 构建和部署,但它使用 14.15.1:
Using Node version:
v14.15.1
Using Npm version:
6.14.8
【问题讨论】:
标签: azure azure-static-web-app
我想使用 Node.js v12.x 构建和部署,但它使用 14.15.1:
Using Node version:
v14.15.1
Using Npm version:
6.14.8
【问题讨论】:
标签: azure azure-static-web-app
您可以通过 Azure CLI 设置所需的 node.js 版本:
az webapp config set --resource-group <resource-group-name> --name <app-name> --linux-fx-version "NODE|12.X"
【讨论】: