I am trying to run azure function in local in intellij.
While I run in local, I get this error in intellij :
when I click on configure, I see that the path is set correctly.
Now, I have tried uninstalling the current azure tools, and installing through npm or through installer. But nothing worked.
I have also tried the version 3 instead of 4 for azure tools, that also didnt help.
Any idea how to resolve this? Nothing seems to be working.
I have tested in my system - IntelliJ IDE - Java Azure Functions Project, it is running successfully.
As I observed in your IDE Azure Sign In Tool
the functions core tools path is different compared to my IntelliJ IDE Configuration.
Replace the Functions core tools path with the path as I have shown below, in your IDE and run the function once.
C:\Users\<YourUserFolder>\AppData\Roaming\npm\node_modules\azure-functions-core-tools\bin\func.exe
And even in the run configuration also, it should be same: