As my title explains I am getting the following error:
{ \"errorMessage\": \"Cannot find module \'index\'\", \"errorType\": \"Error\", \"stackTrace\": [
The problem occurs when the handler cannot be located in the zip at first level. So anytime you see such error make sure that the file is at the first level in the exploded folder.
To fix this zip the files and not the folder that has the files.