Search code examples
visual-studio-codevscode-tasksazure-iot-edge

IoTEdge VisualStudio Code: "useradd" is not recognized as an internal or external command


I am developing IoTEdge module in VisualStudio Code and following This Link. While using the option

Build IoT Edge Solution

Build IoT Edge Solution

i am getting the error at step 10

useradd is not recognized as an internal or external command

useradd error

OS: Windows10


Solution

  • Looks like your Docker is running in Windows container mode. Please update ${MODULES.modulename.amd64} in your deployment.template.json to ${MODULES.modulename.windows-amd64}.