Warning message to start a local function: Can't figure out which ctor to call.
Hello,
I receive the following error message to start a local function:
Azure Functions Core Tools
Core Tools Version: 4.0.4895 Commit hash: N/A (64-bit)
Function Runtime Version: 4.13.0.19486
Functions:
MigrateProducts: timerTrigger
Function DeleteCustomer is disabled.
Function FreeShippingReport is disabled.
Function MergeCart is disabled.
Function PrivacyAnonymization is disabled.
Function PrivacyDataRetrieval is disabled.
Function SyncCustomer is disabled.
For detailed output, run func with --verbose flag.
[2022-11-21T18:58:21.222Z] Worker process started and initialized.
[2022-11-21T18:58:21.446Z] The 'EventHubListener' function is in error: Unable to configure binding 'message' of type 'eventHubTrigger'. This may indicate invalid function.json properties. Can't figure out which ctor to call.
[2022-11-21T18:58:21.447Z] The 'EventHubTrigger1' function is in error: Unable to configure binding 'eventHubMessages' of type 'eventHubTrigger'. This may indicate invalid function.json properties. Can't figure out which ctor to call
When I do start it locally (the above does still start ok) I can run the MigrateProducts locally without any issue or unexpected errors.
I did roll back to v3 and make all the needed code changes (since node 18 is not supported on v3) but got the same error.
Any advice about this incident will be appreciated.