As my title explains I am getting the following error:
{
\"errorMessage\": \"Cannot find module \'index\'\",
\"errorType\": \"Error\",
\"stackTrace\": [
I ran into this problem a few times myself, and this indeed has to do with zipping the folder instead of just the contents like you're supposed to.
For those working from the terminal...
While INSIDE of the directory where the .js files are sitting, run the following:
zip -r ../zipname.zip *
The *
is instructing the client to zip all the contents within this folder, ../zipname.zip
is telling it to name the file zipname.zip
and place it right outside of this current directory.