Hello fellow coders,
i am new to the whole node.js and Alexa developing world. I am coming from Excel / Access VBA applications for businesses.
I wanted to set up local debugging like shown in the following Youtube-Link, but it hasnt been succesful so far. Very frustrating, because always zipping and uploading my code to AWS is not comfortable. :-/
https://www.youtube.com/watch?v=FINV-VmCXms (also see the comments)
My installations: Windows 10, Node js 12.6.1, vs code 1.42.1 , npm 6.13.4 , sam 0.44 , docker 19.03.5
When clicking debug locally like in the video at 4:43 then i get the following error message:
"docker.errors.ImageNotFound: 404 Client Error: Not Found ("No such image: lambci/lambda:nodejs12.x")
Local invoke of SAM Application has ended.
Waiting for SAM Application to start before attaching debugger...
The debug port doesn't appear to be open. The debugger might not succeed when attaching to your SAM Application.
Attaching debugger to SAM Application...
Unable to attach Debugger. Check the Terminal tab for output. If it took longer than expected to successfully start, you may still attach to it."
Also when i try "docker run hello-world" in power shell it downloads 100MB and then says
"Error response from daemon: hcsshim :CreateComputeSystem 67a8ujfdf10f68be6614f3cdfsdsfca48466a8d7511fdfd371da86d6674fe118d1d: The virtual machine could not be started because a required feature is not installed."
- What do i have to set up? I just installed Docker but configured nothing with it.
- Do i need a kind of Daemon Tools software because of the virtual machine / daemon text in the error messages?
- Is there an easier way to do local debugging? I want to use the ask-sdk
I searched Youtube already for other tutorials on how to do easy local debugging, but for me as a newbie everything i found was hard to do or at least not explained well enough.
Please help me. Thanks in advance. :)