[英]Azure function - func start giving error of Value cannot be null. Parameter name: provider
You are using an outdated version of the Azure Functions Core Tools. For more information,
please see: https://aka.ms/func-v2-upgrade
Found Python version 3.6.9 (python3).
Azure Functions Core Tools
Core Tools Version: 2.7.3188 Commit hash: f5984038c7377e9437f71191bff1d5818dd1fa8d
Function Runtime Version: 2.0.14786.0
AZURE_FUNCTIONS_ENVIRONMENT: Development
Value cannot be null.
Parameter name: provider
When I run func start gives me the above error of value and parameter.当我运行 func start 时,会出现上述值和参数错误。 Appreciate the Help.感谢帮助。
I reproduce the issue in my side and just remove a part of code in host.json
, it works.我在我身边重现了这个问题,只是删除了host.json
中的一部分代码,它可以工作。
Remove this part of code:删除这部分代码:
And when the function can start success, then I restore the part of code in host.json
and then it can also start success.而当function可以启动成功后,我将host.json
中的部分代码还原,也可以启动成功。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.