You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the project. After creating the cognito-lambda.zip file and uploading to Lambda I get several errors indicating that some modules were not found. According to the zip-lambda.sh file several modules are included more than once. For example, the modules loadash, moment ad randomstring are included multiple times in the sh file. Is this on purpose?
The first module that I was missing was array-uniq. Then I was missing extend and so on from there. I'm confused why the cognito-lambda.zip file does not contain all the necessary modules. Is it possible that the zip-lambda.sh script is missing modules AND the duplicates should be removed?
Thank you in advance for your time and consideration.
The text was updated successfully, but these errors were encountered:
FYI - after npm install cognito-helper there are 127 modules in the node_modules folder. I can only assume all these modules are required based on dependencies of all the modules. If I am correct then wouldn't all 126 modules (if I exclude cognito-helper) be required in the cognito-lambda.zip file? I've spent a lot of time adding one module at a time to the cognito-lambda.zip file only to find out there is still yet another module that is missing.
It would also be awesome if a sample cognito-amazon.zip file was available that can be uploaded, tested and then tweaked with individual settings. This way there is no doubt what is required (and not missing).
might not be the best solution but rather then adding modules one at a time node_modules/{packageName} \
why not just change the zip-lambda.sh file to this node_modules/* \
that should just add everything in the node_modules.
Thank you for the project. After creating the cognito-lambda.zip file and uploading to Lambda I get several errors indicating that some modules were not found. According to the zip-lambda.sh file several modules are included more than once. For example, the modules loadash, moment ad randomstring are included multiple times in the sh file. Is this on purpose?
The first module that I was missing was array-uniq. Then I was missing extend and so on from there. I'm confused why the cognito-lambda.zip file does not contain all the necessary modules. Is it possible that the zip-lambda.sh script is missing modules AND the duplicates should be removed?
Thank you in advance for your time and consideration.
The text was updated successfully, but these errors were encountered: