I have written an amazon alexa skill using nodejs. I keep on getting errors sometimes related to mysql connection like ETIMEDOUT and PROTOCOL_ENQUEUE_AFTER_FATAL_ERROR. So need someone to review the code and help me understand where I am wrong. The work I probably a 1-2 hours tasks that's it. It is a very easy code and a single js file.
Payment only after successfully solving my problem.