AWS Lambda runtime used to install your modules.
Make sure all modules are compatible for node aws lambda (10.x or 12.x) installs in a aws linux environment using a docker container.
docker pull jameskyburz/aws-lambda-compiler-node:2018.03.0.20190212
docker run --rm -v $(PWD)/src/test:/src aws-lambda-compiler-node \
sh -c ". /root/.nvm/nvm.sh && nvm use 8.10 && cd /src && npm i && node-prune"docker pull jameskyburz/aws-lambda-compiler-node:2.0.20190228
docker run --rm -v $(PWD)/src/test:/src aws-lambda-compiler-node \
sh -c ". /root/.nvm/nvm.sh && nvm use 8.10 && cd /src && npm i && node-prune"