You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo"🛑 Note: If you've installed node and Azure Functions Core Tools but this script is still saying you haven't, please restart your terminal and run the script again."
7
+
echo"\n"
8
+
echo"--------------------------------";
9
+
echo"Checking if node is installed...";
10
+
echo"--------------------------------";
11
+
if [[ $nodev ]]
12
+
then
13
+
if [[ ${nodev:1:2}-lt 14 ]]
14
+
then
15
+
echo"❗️ Your node version is $nodev, which is out of maintenance.";
16
+
echo"Please upgrade your node version to at least version 14.x";
echo"❗️ Please upgrade your Azure Functions Core Tools version to version 4.";
39
+
echo"Follow this link to learn how to: https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local?tabs=v4%2Clinux%2Ccsharp%2Cportal%2Cbash#changing-core-tools-versions";
40
+
echo"Run this script again after to continue.";
41
+
exit
42
+
fi
43
+
echo"✅ Azure Function Core Tools v$funcv is installed, skipping...";
44
+
else
45
+
echo"❌ Azure Function Core Tools is not installed.";
46
+
echo"Please install it here: https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local?tabs=v4%2Clinux%2Ccsharp%2Cportal%2Cbash#install-the-azure-functions-core-tools";
echo"❗️ Your node version is $nodev but your Azure Core Tools version is $funcv";
64
+
echo"Please upgrade your Azure Core Tools version to version 4.x";
65
+
echo"Follow this link to learn how to: https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local?tabs=v4%2Clinux%2Ccsharp%2Cportal%2Cbash#changing-core-tools-versions";
0 commit comments