Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/visual-studio-code/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在节点中的Visual Studio代码上编译Azure函数时出错_Azure_Visual Studio Code_Azure Functions - Fatal编程技术网

在节点中的Visual Studio代码上编译Azure函数时出错

在节点中的Visual Studio代码上编译Azure函数时出错,azure,visual-studio-code,azure-functions,Azure,Visual Studio Code,Azure Functions,我试图在Visual Code Studio上编译函数,但出现以下错误: Function.js { "bindings": [ { "name": "myTimer", "type": "timerTrigger", "direction": "in", "schedule": "0 */5 * * * *" }, { "type": "table", "direction": "out",

我试图在Visual Code Studio上编译函数,但出现以下错误:

Function.js

{
  "bindings": [
    {
      "name": "myTimer",
      "type": "timerTrigger",
      "direction": "in",
      "schedule": "0 */5 * * * *"
    },
    {
      "type": "table",
      "direction": "out",
      "name": "outputTable",
      "tableName": "contmaticTable",
      "connection": "degustfunction9451_STORAGE"
    }
  ]
}
创建外标(表)后开始出错

我的代码片段:

module.exports = function (context, myTimer,outputTable) {
    var timeStamp = new Date().toISOString();

....
}
投标:


在2.0.12050中出现了突破性的变化。您可以参考本页:

Azure存储绑定(blob、队列和表触发器和绑定)以前是运行时的一部分,但今后需要显式安装

为了暂时避免影响,您可以通过将应用程序设置函数扩展版本更新为2.0.11961-alpha,将函数应用程序固定到运行时的早期版本


您可以在函数的“应用程序设置”中修改visual studio代码中的函数\u扩展\u版本,或者通过单击“配置”(然后在“应用程序设置”下)在Azure portal上修改它。将其从“~2”更改为“~2.0.11961-alpha”。

你好,保罗,我可以知道下面的答案是否有助于解决您的问题吗?