找不到配置文件。请先运行`iotedgehubdev setup -c"< edge-device-connection-string>"`。 [英] Cannot find config file. Please run `iotedgehubdev setup -c "<edge-device-connection-string>"` first.

查看:110
本文介绍了找不到配置文件。请先运行`iotedgehubdev setup -c"< edge-device-connection-string>"`。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试开发Azure iot Edge模块并调试此模块

I am trying develop Azure iot Edge module and debug this module

根据链接https://docs.microsoft.com/en-us/azure/iot- edge / how-to-code-develop-module。 

As per link https://docs.microsoft.com/en-us/azure/iot-edge/how-to-vs-code-develop-module. 

上次设置执行来自"为IoT Edge解决方案设置物联网边缘模拟器"部分

Last setup execute is from section "Set up IoT Edge simulator for IoT Edge solution"

之后我执行Azure IoT Edge:启动物联网边缘集线器模拟器进行单个模块化

After that i am executing Azure IoT Edge: Start IoT Edge Hub Simulator for Single Modulegetting

在OUTPUT窗口中,我收到以下消息:

In OUTPUT window i get following message:

azure-iot-edge.startEdgeHubSingle:

azure-iot-edge.startEdgeHubSingle:

执行iotedgehubdev modulecred -l -o" c:\Users\bt00467445 \ AppData \ Rooaming \\ \\Code\User\workspaceStorage\5cb906c4e0d2b0e3134bbd115d16ba07\vsciot-vscode.azure-IOT-edge\module.env"错误:找不到配置文件。请先运行`iotedgehubdev setup -c
"< edge-device-connection-string>"`。错误:命令失败并退出代码1.详细信息:

Executing iotedgehubdev modulecred -l -o "c:\Users\bt00467445\AppData\Roaming\Code\User\workspaceStorage\5cb906c4e0d2b0e3134bbd115d16ba07\vsciot-vscode.azure-iot-edge\module.env" ERROR: Cannot find config file. Please run `iotedgehubdev setup -c "<edge-device-connection-string>"` first. Error: Command failed with exit code 1. Detail:

根据我已执行的文档步骤

As per document i already executed steps

" iotedgehubdev setup -c" HostName = ....<

"iotedgehubdev setup -c "HostName=...."

获得输出 成功安装物联网边缘模拟器。

Got output Setup IoT Edge Simulator successfully.

如错误消息文件5cb906c4e0d2b0e3134bbd115d16ba07 \vsciot-vscode.azure -iot-edge\module.env

As in error message file 5cb906c4e0d2b0e3134bbd115d16ba07\vsciot-vscode.azure-iot-edge\module.env

为空。

推荐答案

您可以重新运行样本并通过删除现有工作区进行检查吗?我可以毫无问题地运行示例。


这篇关于找不到配置文件。请先运行`iotedgehubdev setup -c&quot;&lt; edge-device-connection-string&gt;&quot;`。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆