New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NodeJS Code: The binding type(s) 'eventHubTrigger' are not registered. Please ensure the type is correct and the binding extension is installed #4909
Comments
@soninaren / @mhoeger -- any ideas here? |
additional information:VS Code Version: 1.38.0 (system setup) Chrome: 69.0.3497.128 |
@Deepak-Babu what version of core-tools are you using?, Also can you send full text from the console. |
Azure Functions Core Tools (2.7.1585 Commit hash: 9a2b723) |
Azure Functions Core Tools (2.7.1585 Commit hash: 9a2b723) |
@soninaren I have provided the information you requested. |
Can you delete this folder and try again? |
looks like that worked. I'll check if the function triggers and update this issue |
I'm writing function in Nodejs on VSCode, and use Extension Bundle for EventHub and ServiceBus triggers. This setup used to work before , but I'm unable to run my function app locally today. I have the following error from VSCode:
[9/9/2019 5:19:00 PM] The following 2 functions are in error:
[9/9/2019 5:19:00 PM] : The binding type(s) 'serviceBusTrigger' are not registered. Please ensure the type is correct and the binding extension is installed.
[9/9/2019 5:19:00 PM] : The binding type(s) 'eventHubTrigger' are not registered. Please ensure the type is correct
and the binding extension is installed.
The host.Json is as follows:
{
"version": "2.0",
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[1.*, 2.0.0)"
}
}
The function.json is as follows:
{
"bindings": [
{
"type": "eventHubTrigger",
"name": "eventHubMessages",
"direction": "in",
"eventHubName": "",
"path": "",
"connection": "",
"cardinality": "many",
"consumerGroup": "local_testing"
}
],
"disabled": false
}
local.settings.json:
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "",
"AzureWebJobsDashboard": "<>",
"FUNCTIONS_WORKER_RUNTIME": "node",
"": "",
"my_servicebus": ""
}
}
The text was updated successfully, but these errors were encountered: