In this azure tutorial, we will discuss how to fix the error, Azure Function Core Tool Not Installing on VS Code. This error I got while running an Azure function project using the Visual Studio 2019 in my local machine.
Table of Contents
- Azure Function Core Tool Not Installing on VS Code
- Azure Function Core Tool Not Installing on VS Code [Solved]
- You must have the Azure Functions Core Tools installed to debug your local functions [Solved]
- How To Install Azure Functions Core Tools In Visual Studio Code
- Uninstall Azure Functions Core Tools
Azure Function Core Tool Not Installing on VS Code
Recently, while creating one of the Azure Functions Project I got the below Popup, which showed me a warning “You must have the Azure Functions Core Tools installed to debug your local functions“.
Then I clicked on the Install button to install that.

After i clicked on the Install button, I got the below error
12:01:28 PM: Running command: “npm install -g azure-functions-core-tools@3″…
npm ERR! code EEXIST
npm ERR! path C:\Users\Bijay\AppData\Roaming\npm\node_modules\azure-functions-core-tools\lib\main.js
npm ERR! dest C:\Users\Bijay\AppData\Roaming\npm\func
npm ERR! EEXIST: file already exists, cmd shim ‘C:\Users\Bijay\AppData\Roaming\npm\node_modules\azure-functions-core-tools\lib\main.js’ -> ‘C:\Users\Bijay\AppData\Roaming\npm\func’
npm ERR! File exists: C:\Users\Bijay\AppData\Roaming\npm\func
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with –force to overwrite files recklessly.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Bijay\AppData\Roaming\npm-cache_logs\2020-08-17T06_31_31_113Z-debug.log
you can see here, It is showing me some reference files already exist.

Azure Function Core Tool Not Installing on VS Code [Solved]
To fix this issue, first I have opened a new terminal and tried executing the below command.
You must have the Azure Functions Core Tools installed to debug your local functions [Solved]
You can also use the nodejs command prompt to execute the below cmdlet.
npm install -g azure-functions-core-tools@3
But again, I got the same error

So now what I did is I ran the below command with — force, You can able to see, It started the installation of the Azure Functions Core Tools without any issue.
npm install -g azure-functions-core-tools@3 --force

Now when i tried creating the Azure Functions Project using Visual Studio Code, I did’nt get any error now.
How To Install Azure Functions Core Tools In Visual Studio Code
You can easily install the Azure Functions Core Tools in Visual Studio Code using the below steps
- Open a new terminal from your Visual Studio Code.
- Run the below command.
npm install -g azure-functions-core-tools@3 --force
Once, you will execute the above command, the core tools will get installed successfully as shown below.

Uninstall Azure Functions Core Tools
Well, if you want to uninstall Azure Functions Core Tools from your Visual Studio Code IDE, you can follow the below methods.
Method-1:
- Open your Visual Studio Code IDE.
- Click on the View –> Select Command Palette option.

3. Search for “Uninstall Azure Functions Core Tools from Visual Studio Code” and click on the search result Azure Functions: Uninstall Azure Functions Core Tools.

Method-2:
You can also use the below steps to uninstall Azure Functions Core Tools from Visual Studio Code.
- Open a new terminal from your Visual Studio Code.
- Run the below command.
npm uninstall -g azure-functions-core-tools
Now, it will uninstall the Azure Functions Core Tools from your Visual Studio Code IDE.

You may also like following the Below Articles
- Microsoft.Azure.WebJobs.Host: Cannot bind parameter ‘name’ to type String
- Error While Redeploying The Azure Function System.Exception: Publishing failed
- How To Create Azure Functions Time Trigger From Visual Studio 2019
- What Are Azure Durable Functions
- Azure Functions Runtime Is Unreachable
Conclusion
Well, here we have discussed how to fix the error, Azure Function Core Tool Not Installing on VS Code. We saw here, how manually we installed the Azure Function Core Tool successfully. Along with this, we have also discussed the below topics
- You must have the Azure Functions Core Tools installed to debug your local functions
- How To Install Azure Functions Core Tools In Visual Studio Code
- Uninstall Azure Functions Core Tools
Hope it will help you to fix your issue as well !!!.