microsoft / vscode-azure-iot-tools

The ultimate collection of extensions for working with Azure IoT in VS Code!
https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-tools
MIT License
21 stars 18 forks source link

'New IOT Edge Solution' cannot build/run in simulator #26

Open RotateAt60MPH opened 4 years ago

RotateAt60MPH commented 4 years ago

Hello.

I can across a problem that I am unable to explain. When I try and "Build and Run IoT Solution in Simulator", it fails.

It's fairly repeatible:

Wait for everything to get built.

I get the following error:

PS C:\Users\\Documents\VSCode\EdgeSolution> & "C:\Users\.vscode\extensions\vsciot-vscode.azure-iot-edge-1.21.0\iotedgehubdev\0.13.0\iotedgehubdev" start -d "c:\Users\\Documents\VSCode\EdgeSolution\config\deployment.debug.arm32v7.json" -v Network azure-iot-edge-dev is external, skipping Pulling edgeHubDev ... done ERROR: no such image: ${MODULES.SampleModule.debug}: invalid reference format: repository name must be lowercase ERROR: Error while executing command: docker-compose -f C:\ProgramData\iotedgehubdev\data\data\docker-compose.yml up. Command '['docker-compose', '-f', 'C:\ProgramData\iotedgehubdev\data\data\docker-compose.yml', 'up']' returned non-zero exit status 1. PS C:\Users\wirunc\Documents\VSCode\EdgeSolution>

If the complication is that it's not possible to use the arm32v7 as a target platform, there should be a better error indication.