azure - local.settings.json 中 AzureWebJobsStorage 的缺失值
问题描述
尝试在本地运行时收到此错误消息。在此之前完全没有问题。
Missing value for AzureWebJobsStorage in local.settings.json. This is required for all triggers other than httptrigger, kafkatrigger. You can run 'func azure functionapp fetch-app-settings <functionAppName>' or specify a connection string in local.settings.json.
我的 local.settings.json
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "",
"FUNCTIONS_WORKER_RUNTIME": "python"
}
}
解决方案
您没有给出 AzureWebJobsStorage 的值。
本地默认值:UseDevelopmentStorage=true
之所以需要提供,是因为除了httptrigger之外,其他所有的trigger都需要先启动storage emulator。
推荐阅读
- jquery - 输入文本被一一删除时如何显示匹配结果
- spring-cloud - spring cloud contract - 使用请求的主体作为响应主体
- javascript - 我希望我的 sidenav 从页面推送内容
- html - 在产品功能中添加 Html 标签
- jquery - 紧接子元素的 CSS 选择器
- jquery - 如何在 JQuery FullCalendar 上正确工作我的日视图和周视图?
- html - 如何修复 Mac 机器中未突出显示的“2.4.7 Focus Visible”元素
- ios - 替换 iOS 12 中的自定义 CIFilter。
- python - Python TCP/IP 通信
- php - 年龄和 scheduleRange 标准的高级搜索