---
title: "DK (@kakallatt) | Hashnode"
description: "DK (@kakallatt) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@kakallatt"
---

@kakallatt

# DK

@kakallatt · Joined February 2022

## Comments

[Richathon Thank you for your reply. So I need a machine running Linux to re-compile the script to make the Lamda function work? I am using macOS right now, but I didn't run npm install. I just downloaded the zip file and upload it to Lamda.](https://hashnode.com/posts/on-the-fly-image-resizing-with-aws-lambda-s3-and-cloudfront/61124f7efab8db0c4fc31a42/comment/62148a5695c64c6eda455e36#reply-6238df3f6622115cc80487c5)

Reply · Article · Mar 21, 2022 · [On-the-fly image resizing with AWS Lambda, S3 & CloudFront](https://hashnode.com/posts/on-the-fly-image-resizing-with-aws-lambda-s3-and-cloudfront/61124f7efab8db0c4fc31a42)

[Stefan Olaru Thank you for the quick reply. I got a new error: darwin-x64' binaries cannot be used on the 'linux-x64' platform. Please remove the 'node\_modules/sharp' directory and run 'npm install' on the 'linux-x64' platform. Do you know how to fix it?](https://hashnode.com/posts/on-the-fly-image-resizing-with-aws-lambda-s3-and-cloudfront/61124f7efab8db0c4fc31a42/comment/62148a5695c64c6eda455e36#reply-621531461543b38e7605cc18)

Reply · Article · Feb 22, 2022 · [On-the-fly image resizing with AWS Lambda, S3 & CloudFront](https://hashnode.com/posts/on-the-fly-image-resizing-with-aws-lambda-s3-and-cloudfront/61124f7efab8db0c4fc31a42)

[Oh seems I can visit via the CloudFront URL, but I got this error from the code in .zip file: index.handler is undefined or not exported](https://hashnode.com/posts/on-the-fly-image-resizing-with-aws-lambda-s3-and-cloudfront/61124f7efab8db0c4fc31a42/comment/62148a5695c64c6eda455e36#reply-62148da8b8d3826eb56656e8)

Reply · Article · Feb 22, 2022 · [On-the-fly image resizing with AWS Lambda, S3 & CloudFront](https://hashnode.com/posts/on-the-fly-image-resizing-with-aws-lambda-s3-and-cloudfront/61124f7efab8db0c4fc31a42)

[Hi Stefan, I followed your instruction but when I visited the URL to resize image, it just showed AccessDenied. The URL for the original image still works.](https://hashnode.com/posts/on-the-fly-image-resizing-with-aws-lambda-s3-and-cloudfront/61124f7efab8db0c4fc31a42/comment/62148a5695c64c6eda455e36)

Comment · Article · Feb 22, 2022 · [On-the-fly image resizing with AWS Lambda, S3 & CloudFront](https://hashnode.com/posts/on-the-fly-image-resizing-with-aws-lambda-s3-and-cloudfront/61124f7efab8db0c4fc31a42)
